Give the solution integrated single sign-on
The situation is:
1. The cer certificate has been imported into the confluence was directory of the jre
2. Run 127.0.0.1:8090 is ready to jump to the sso login interface
3. But the following problems after the jump back
The code does not have to deal with problems, meaning should be ticket not recognized
Online to find a lot of information without solution
Cause
Javax.mail. Servlet. ServletException: org. Jasig. Cas. Client. Validation. TicketValidationException:?? 'ST - 1582455-3 qfqv57zf5w76xxhuexo - sso. XXXXX (hidden). Com'???????????
The at org. Jasig. Cas. Client. Validation. AbstractTicketValidationFilter. DoFilter (AbstractTicketValidationFilter. Java: 190)
Under caused by: org. Jasig. Cas. Client. Validation. TicketValidationException:?? 'ST - 1582455-3 qfqv57zf5w76xxhuexo - sso. XXXXX (hidden). Com'???????????
The at org. Jasig. Cas. Client. Validation. Cas20ServiceTicketValidator. ParseResponseFromServer (Cas20ServiceTicketValidator. Java: 86)
The Stack Trace: [hide]
Javax.mail. Servlet. ServletException: org. Jasig. Cas. Client. Validation. TicketValidationException:
?? 'ST - 1582455-3 qfqv57zf5w76xxhuexo - sso. XXXXX (hidden). Com'???????????
The at org. Jasig. Cas. Client. Validation. AbstractTicketValidationFilter. DoFilter (AbstractTicketValidationFilter. Java: 190)
The at org. Apache. Catalina. Core. ApplicationFilterChain. InternalDoFilter (ApplicationFilterChain. Java: 235)
The at org. Apache. Catalina. Core. ApplicationFilterChain. DoFilter (ApplicationFilterChain. Java: 206)
The at org. Apache. Catalina. Core. StandardWrapperValve. Invoke (StandardWrapperValve. Java: 233)
The at org. Apache. Catalina. Core. StandardContextValve. Invoke (StandardContextValve. Java: 191)
The at org. Apache. Catalina. Core. StandardHostValve. Invoke (StandardHostValve. Java: 127)
The at org. Apache. Catalina. Valves. ErrorReportValve. Invoke (ErrorReportValve. Java: 102)
The at org. Apache. Catalina. Core. StandardEngineValve. Invoke (StandardEngineValve. Java: 109)
At org. Apache. Catalina. Connector. CoyoteAdapter. Service (293) CoyoteAdapter. Java:
The at org. Apache. Coyote. Http11. Http11Processor. Process (Http11Processor. Java: 859)
The at org. Apache. Coyote. Http11. Http11Protocol $Http11ConnectionHandler. Process (Http11Protocol. Java: 602)
At org.apache.tomcat.util.net.JIoEndpoint$Worker.run JIoEndpoint. Java: (489)
The at Java. Lang. Thread. The run (Unknown Source)
Under Caused by: org. Jasig. Cas. Client. Validation. TicketValidationException:
?? 'ST - 1582455-3 qfqv57zf5w76xxhuexo - sso. XXXXX (hidden). Com'???????????
The at org. Jasig. Cas. Client. Validation. Cas20ServiceTicketValidator. ParseResponseFromServer (Cas20ServiceTicketValidator. Java: 86)
The at org. Jasig. Cas. Client. Validation. AbstractUrlBasedTicketValidator. Validate (AbstractUrlBasedTicketValidator. Java: 217)
The at org. Jasig. Cas. Client. Validation. AbstractTicketValidationFilter. DoFilter (AbstractTicketValidationFilter. Java: 165)
. 12 more
CodePudding user response:
The original poster to solve, to askCodePudding user response:
Modify the CAS server itself timeout time,In the WEB - INF/cas. The properties of modified, is also the default time from 10 seconds to a larger number, such as 1800 seconds (half hour)
st. timeToKillInSeconds=1800