org.pac4j.core.exception.TechnicalException: *cannot validate CAS ticket*: ST-1-nIwbwuy5efa1W6Teqyfj-ev007

Google Groups | Alvaro S. | 1 month ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    [cas-user] How to Add OAuth Clients to CAS Server?

    Google Groups | 1 month ago | Alvaro S.
    org.pac4j.core.exception.TechnicalException: *cannot validate CAS ticket*: ST-1-nIwbwuy5efa1W6Teqyfj-ev007
  2. 0

    [cas-user] Pac4j OAuth delegation: Facebook/Google link dissapears from login page when user logs in for the first time

    Google Groups | 6 months ago | Yauheni Sidarenka
    org.pac4j.core.exception.HttpAction: authentication already tried -> forbidden

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. org.jasig.cas.client.validation.TicketValidationException

      UNAUTHORIZED_SERVICE

      at org.jasig.cas.client.validation.Cas20ServiceTicketValidator.parseResponseFromServer()
    2. Jasig CAS Client for Java - Core
      AbstractUrlBasedTicketValidator.validate
      1. org.jasig.cas.client.validation.Cas20ServiceTicketValidator.parseResponseFromServer(Cas20ServiceTicketValidator.java:84)[cas-client-core-3.4.1.jar!/:3.4.1]
      2. org.jasig.cas.client.validation.AbstractUrlBasedTicketValidator.validate(AbstractUrlBasedTicketValidator.java:201)[cas-client-core-3.4.1.jar!/:3.4.1]
      2 frames
    3. org.pac4j.cas
      CasAuthenticator.validate
      1. org.pac4j.cas.credentials.authenticator.CasAuthenticator.validate(CasAuthenticator.java:60)[pac4j-cas-1.9.4.jar!/:?]
      2. org.pac4j.cas.credentials.authenticator.CasAuthenticator.validate(CasAuthenticator.java:26)[pac4j-cas-1.9.4.jar!/:?]
      2 frames
    4. pac4j core
      IndirectClient.getCredentials
      1. org.pac4j.core.client.IndirectClientV2.retrieveCredentials(IndirectClientV2.java:49)[pac4j-core-1.9.4.jar!/:?]
      2. org.pac4j.core.client.IndirectClient.getCredentials(IndirectClient.java:105)[pac4j-core-1.9.4.jar!/:?]
      2 frames
    5. org.pac4j.core
      DefaultCallbackLogic.perform
      1. org.pac4j.core.engine.DefaultCallbackLogic.perform(DefaultCallbackLogic.java:77)[pac4j-core-1.9.4.jar!/:?]
      1 frame
    6. org.pac4j.springframework
      CallbackController.callback
      1. org.pac4j.springframework.web.CallbackController.callback(CallbackController.java:53)[spring-webmvc-pac4j-1.1.4.jar!/:?]
      1 frame
    7. org.apereo.cas
      OAuth20CallbackAuthorizeController.handleRequestInternal
      1. org.apereo.cas.support.oauth.web.OAuth20CallbackAuthorizeController.handleRequestInternal(OAuth20CallbackAuthorizeController.java:45)[cas-server-support-oauth-5.0.3-SNAPSHOT.jar!/:5.0.3-SNAPSHOT]
      1 frame
    8. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[?:1.8.0_45]
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)[?:1.8.0_45]
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[?:1.8.0_45]
      4. java.lang.reflect.Method.invoke(Method.java:497)[?:1.8.0_45]
      4 frames
    9. Spring
      InvocableHandlerMethod.invokeForRequest
      1. org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:220)[spring-web-4.3.4.RELEASE.jar!/:4.3.4.RELEASE]
      2. org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:134)[spring-web-4.3.4.RELEASE.jar!/:4.3.4.RELEASE]
      2 frames
    10. Spring MVC
      FrameworkServlet.doGet
      1. org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:116)[spring-webmvc-4.3.4.RELEASE.jar!/:4.3.4.RELEASE]
      2. org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:827)[spring-webmvc-4.3.4.RELEASE.jar!/:4.3.4.RELEASE]
      3. org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:738)[spring-webmvc-4.3.4.RELEASE.jar!/:4.3.4.RELEASE]
      4. org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:85)[spring-webmvc-4.3.4.RELEASE.jar!/:4.3.4.RELEASE]
      5. org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:963)[spring-webmvc-4.3.4.RELEASE.jar!/:4.3.4.RELEASE]
      6. org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:897)[spring-webmvc-4.3.4.RELEASE.jar!/:4.3.4.RELEASE]
      7. org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:970)[spring-webmvc-4.3.4.RELEASE.jar!/:4.3.4.RELEASE]
      8. org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:861)[spring-webmvc-4.3.4.RELEASE.jar!/:4.3.4.RELEASE]
      8 frames
    11. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:622)[tomcat-embed-core-8.5.9.jar!/:8.5.9]
      1 frame
    12. Spring MVC
      FrameworkServlet.service
      1. org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:846)[spring-webmvc-4.3.4.RELEASE.jar!/:4.3.4.RELEASE]
      1 frame
    13. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:729)[tomcat-embed-core-8.5.9.jar!/:8.5.9]
      1 frame
    14. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:230)[tomcat-embed-core-8.5.9.jar!/:8.5.9]
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)[tomcat-embed-core-8.5.9.jar!/:8.5.9]
      2 frames
    15. Tomcat WS
      WsFilter.doFilter
      1. org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)[tomcat-embed-websocket-8.5.9.jar!/:8.5.9]
      1 frame
    16. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:192)[tomcat-embed-core-8.5.9.jar!/:8.5.9]
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)[tomcat-embed-core-8.5.9.jar!/:8.5.9]
      2 frames
    17. org.springframework.boot
      ApplicationContextHeaderFilter.doFilterInternal
      1. org.springframework.boot.web.filter.ApplicationContextHeaderFilter.doFilterInternal(ApplicationContextHeaderFilter.java:55)[spring-boot-1.4.2.RELEASE.jar!/:1.4.2.RELEASE]
      1 frame
    18. Spring
      OncePerRequestFilter.doFilter
      1. org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)[spring-web-4.3.4.RELEASE.jar!/:4.3.4.RELEASE]
      1 frame
    19. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:192)[tomcat-embed-core-8.5.9.jar!/:8.5.9]
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)[tomcat-embed-core-8.5.9.jar!/:8.5.9]
      2 frames
    20. org.apereo.inspektr
      ClientInfoThreadLocalFilter.doFilter
      1. org.apereo.inspektr.common.web.ClientInfoThreadLocalFilter.doFilter(ClientInfoThreadLocalFilter.java:64)[inspektr-common-1.7.GA.jar!/:1.7.GA]
      1 frame
    21. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:192)[tomcat-embed-core-8.5.9.jar!/:8.5.9]
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)[tomcat-embed-core-8.5.9.jar!/:8.5.9]
      2 frames
    22. org.apereo.cas
      CurrentCredentialsAndAuthenticationClearingFilter.doFilter
      1. org.apereo.cas.web.support.CurrentCredentialsAndAuthenticationClearingFilter.doFilter(CurrentCredentialsAndAuthenticationClearingFilter.java:28)[cas-server-core-web-5.0.3-SNAPSHOT.jar!/:5.0.3-SNAPSHOT]
      1 frame
    23. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:192)[tomcat-embed-core-8.5.9.jar!/:8.5.9]
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)[tomcat-embed-core-8.5.9.jar!/:8.5.9]
      2 frames
    24. org.apereo.cas
      RequestParameterPolicyEnforcementFilter.doFilter
      1. org.apereo.cas.security.RequestParameterPolicyEnforcementFilter.doFilter(RequestParameterPolicyEnforcementFilter.java:261)[cas-server-security-filter-2.0.6.jar!/:2.0.6]
      1 frame
    25. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:192)[tomcat-embed-core-8.5.9.jar!/:8.5.9]
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)[tomcat-embed-core-8.5.9.jar!/:8.5.9]
      2 frames
    26. org.apereo.cas
      ResponseHeadersEnforcementFilter.doFilter
      1. org.apereo.cas.security.ResponseHeadersEnforcementFilter.doFilter(ResponseHeadersEnforcementFilter.java:238)[cas-server-security-filter-2.0.6.jar!/:2.0.6]
      1 frame
    27. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:192)[tomcat-embed-core-8.5.9.jar!/:8.5.9]
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)[tomcat-embed-core-8.5.9.jar!/:8.5.9]
      2 frames
    28. Spring Boot Actuator
      WebRequestTraceFilter.doFilterInternal
      1. org.springframework.boot.actuate.trace.WebRequestTraceFilter.doFilterInternal(WebRequestTraceFilter.java:105)[spring-boot-actuator-1.4.2.RELEASE.jar!/:1.4.2.RELEASE]
      1 frame
    29. Spring
      OncePerRequestFilter.doFilter
      1. org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)[spring-web-4.3.4.RELEASE.jar!/:4.3.4.RELEASE]
      1 frame
    30. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:192)[tomcat-embed-core-8.5.9.jar!/:8.5.9]
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)[tomcat-embed-core-8.5.9.jar!/:8.5.9]
      2 frames
    31. org.apereo.cas
      ThreadContextMDCServletFilter.doFilter
      1. org.apereo.cas.logging.web.ThreadContextMDCServletFilter.doFilter(ThreadContextMDCServletFilter.java:90)[cas-server-core-logging-5.0.3-SNAPSHOT.jar!/:5.0.3-SNAPSHOT]
      1 frame
    32. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:192)[tomcat-embed-core-8.5.9.jar!/:8.5.9]
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)[tomcat-embed-core-8.5.9.jar!/:8.5.9]
      2 frames
    33. Spring
      OncePerRequestFilter.doFilter
      1. org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:99)[spring-web-4.3.4.RELEASE.jar!/:4.3.4.RELEASE]
      2. org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)[spring-web-4.3.4.RELEASE.jar!/:4.3.4.RELEASE]
      2 frames
    34. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:192)[tomcat-embed-core-8.5.9.jar!/:8.5.9]
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)[tomcat-embed-core-8.5.9.jar!/:8.5.9]
      2 frames
    35. Spring
      OncePerRequestFilter.doFilter
      1. org.springframework.web.filter.HttpPutFormContentFilter.doFilterInternal(HttpPutFormContentFilter.java:89)[spring-web-4.3.4.RELEASE.jar!/:4.3.4.RELEASE]
      2. org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)[spring-web-4.3.4.RELEASE.jar!/:4.3.4.RELEASE]
      2 frames
    36. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:192)[tomcat-embed-core-8.5.9.jar!/:8.5.9]
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)[tomcat-embed-core-8.5.9.jar!/:8.5.9]
      2 frames
    37. Spring
      OncePerRequestFilter.doFilter
      1. org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:77)[spring-web-4.3.4.RELEASE.jar!/:4.3.4.RELEASE]
      2. org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)[spring-web-4.3.4.RELEASE.jar!/:4.3.4.RELEASE]
      2 frames
    38. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:192)[tomcat-embed-core-8.5.9.jar!/:8.5.9]
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)[tomcat-embed-core-8.5.9.jar!/:8.5.9]
      2 frames
    39. Spring Boot Actuator
      MetricsFilter.doFilterInternal
      1. org.springframework.boot.actuate.autoconfigure.MetricsFilter.doFilterInternal(MetricsFilter.java:107)[spring-boot-actuator-1.4.2.RELEASE.jar!/:1.4.2.RELEASE]
      1 frame
    40. Spring
      OncePerRequestFilter.doFilter
      1. org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)[spring-web-4.3.4.RELEASE.jar!/:4.3.4.RELEASE]
      1 frame
    41. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:192)[tomcat-embed-core-8.5.9.jar!/:8.5.9]
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)[tomcat-embed-core-8.5.9.jar!/:8.5.9]
      2 frames
    42. Spring
      OncePerRequestFilter.doFilter
      1. org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:197)[spring-web-4.3.4.RELEASE.jar!/:4.3.4.RELEASE]
      2. org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)[spring-web-4.3.4.RELEASE.jar!/:4.3.4.RELEASE]
      2 frames
    43. Glassfish Core
      CoyoteAdapter.service
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:192)[tomcat-embed-core-8.5.9.jar!/:8.5.9]
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)[tomcat-embed-core-8.5.9.jar!/:8.5.9]
      3. org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:198)[tomcat-embed-core-8.5.9.jar!/:8.5.9]
      4. org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96)[tomcat-embed-core-8.5.9.jar!/:8.5.9]
      5. org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:474)[tomcat-embed-core-8.5.9.jar!/:8.5.9]
      6. org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:140)[tomcat-embed-core-8.5.9.jar!/:8.5.9]
      7. org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)[tomcat-embed-core-8.5.9.jar!/:8.5.9]
      8. org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87)[tomcat-embed-core-8.5.9.jar!/:8.5.9]
      9. org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:624)[tomcat-embed-core-8.5.9.jar!/:8.5.9]
      10. org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:677)[tomcat-embed-core-8.5.9.jar!/:8.5.9]
      11. org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:349)[tomcat-embed-core-8.5.9.jar!/:8.5.9]
      11 frames
    44. Grizzly HTTP
      SocketProcessorBase.run
      1. org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:783)[tomcat-embed-core-8.5.9.jar!/:8.5.9]
      2. org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)[tomcat-embed-core-8.5.9.jar!/:8.5.9]
      3. org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:789)[tomcat-embed-core-8.5.9.jar!/:8.5.9]
      4. org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1437)[tomcat-embed-core-8.5.9.jar!/:8.5.9]
      5. org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)[tomcat-embed-core-8.5.9.jar!/:8.5.9]
      5 frames
    45. Java RT
      ThreadPoolExecutor$Worker.run
      1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)[?:1.8.0_45]
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)[?:1.8.0_45]
      2 frames
    46. Tomcat Util
      TaskThread$WrappingRunnable.run
      1. org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)[tomcat-embed-core-8.5.9.jar!/:8.5.9]
      1 frame
    47. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:745)[?:1.8.0_45]
      1 frame