search

Home  >  Q&A  >  body text

java - cas重定向死循环

迷茫迷茫2768 days ago865

reply all(2)I'll reply

  • PHP中文网

    PHP中文网2017-04-18 10:40:12

    An endless loop occurs after ticket acquisition.

    reply
    0
  • 天蓬老师

    天蓬老师2017-04-18 10:40:12

    Your problem may be caused by the design. For example:

    1. The user visits your website, and you redirect directly to cas

    2. cas returned something, in short it is an incorrect result (maybe caused by your program, or it may be a problem with cas itself)

    3. Your verification failed, it was determined that the user was not logged in, and then it was redirected directly to cas.

    The result is that you keep jumping and can’t get out.

    If this is the problem, then the solution is: don’t jump directly without user operation. Change it to this:

    1. When a user visits your website, a link appears on your website, such as "Log in from cas", and the user clicks this link

    2. Slightly

    3. Your verification failed and the error page is returned but does not jump

    reply
    0
  • Cancelreply