Failed to identify the target * * *; stub

Source: Internet
Author: User
Tags cas stub ticket

Spring-security CAs is not able to identify the target

<cas:serviceresponse xmlns:cas= ' Http://www.yale.edu/tp/cas ' > <cas:authenticationfailure code= ' invalid_ TICKET ' >
Failed to identify the target & #039; st-2-gqqsrepdwaqlhldkjiez-cas01.example.org& #039; stubs.
</cas:authenticationFailure>

</cas:serviceResponse>

Modified: Web-inf/spring-configuration/ticketexpirationpolicies.xml time in red, SECONDS indicates the time unit

<bean id= "Serviceticketexpirationpolicy" class= " Org.jasig.cas.ticket.support.MultiTimeUseOrTimeoutExpirationPolicy "

c:numberofuses= "1" c:timetokill= "1800" c:timeunit-ref= "SECONDS"/>

Cause, the default time is 1.8 seconds, when the login is successful, carry St back to the client, the client with server and ST to the server authentication, but at this time the server side of the St has expired.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.