org.pac4j.core.exception.HttpAction: authentication already tried -> forbidden

Google Groups | Yauheni Sidarenka | 2 months ago
  1. 0

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

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

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

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

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

    Google Groups | 2 months ago | Yauheni Sidarenka
    org.pac4j.core.exception.HttpAction: authentication already tried -> forbidden
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. org.pac4j.core.exception.HttpAction

      authentication already tried -> forbidden

      at org.pac4j.core.exception.HttpAction.unauthorized()
    2. pac4j core
      IndirectClient.getRedirectAction
      1. org.pac4j.core.exception.HttpAction.unauthorized(HttpAction.java:89)[pac4j-core-1.9.1.jar:?]
      2. org.pac4j.core.client.IndirectClient.getRedirectAction(IndirectClient.java:74)[pac4j-core-1.9.1.jar:?]
      2 frames
    3. org.apereo.cas
      ClientAction.doExecute
      1. org.apereo.cas.support.pac4j.web.flow.ClientAction.prepareForLoginPage(ClientAction.java:161)[cas-server-support-pac4j-5.0.0.RC2.jar:5.0.0.RC2]
      2. org.apereo.cas.support.pac4j.web.flow.ClientAction.doExecute(ClientAction.java:128)[cas-server-support-pac4j-5.0.0.RC2.jar:5.0.0.RC2]
      2 frames
    4. Spring Web Flow
      FlowExecutorImpl.launchExecution
      1. org.springframework.webflow.action.AbstractAction.execute(AbstractAction.java:188)[spring-webflow-2.4.4.RELEASE.jar:2.4.4.RELEASE]
      2. org.springframework.webflow.execution.ActionExecutor.execute(ActionExecutor.java:51)[spring-webflow-2.4.4.RELEASE.jar:2.4.4.RELEASE]
      3. org.springframework.webflow.action.EvaluateAction.doExecute(EvaluateAction.java:77)[spring-webflow-2.4.4.RELEASE.jar:2.4.4.RELEASE]
      4. org.springframework.webflow.action.AbstractAction.execute(AbstractAction.java:188)[spring-webflow-2.4.4.RELEASE.jar:2.4.4.RELEASE]
      5. org.springframework.webflow.execution.ActionExecutor.execute(ActionExecutor.java:51)[spring-webflow-2.4.4.RELEASE.jar:2.4.4.RELEASE]
      6. org.springframework.webflow.engine.ActionState.doEnter(ActionState.java:101)[spring-webflow-2.4.4.RELEASE.jar:2.4.4.RELEASE]
      7. org.springframework.webflow.engine.State.enter(State.java:194)[spring-webflow-2.4.4.RELEASE.jar:2.4.4.RELEASE]
      8. org.springframework.webflow.engine.Flow.start(Flow.java:527)[spring-webflow-2.4.4.RELEASE.jar:2.4.4.RELEASE]
      9. org.springframework.webflow.engine.impl.FlowExecutionImpl.start(FlowExecutionImpl.java:368)[spring-webflow-2.4.4.RELEASE.jar:2.4.4.RELEASE]
      10. org.springframework.webflow.engine.impl.FlowExecutionImpl.start(FlowExecutionImpl.java:223)[spring-webflow-2.4.4.RELEASE.jar:2.4.4.RELEASE]
      11. org.springframework.webflow.executor.FlowExecutorImpl.launchExecution(FlowExecutorImpl.java:140)[spring-webflow-2.4.4.RELEASE.jar:2.4.4.RELEASE]
      11 frames
    5. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[?:1.8.0_60]
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)[?:1.8.0_60]
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[?:1.8.0_60]
      4. java.lang.reflect.Method.invoke(Method.java:497)[?:1.8.0_60]
      4 frames
    6. Spring AOP
      JdkDynamicAopProxy.invoke
      1. org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:333)[spring-aop-4.3.2.RELEASE.jar:4.3.2.RELEASE]
      2. org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190)[spring-aop-4.3.2.RELEASE.jar:4.3.2.RELEASE]
      3. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)[spring-aop-4.3.2.RELEASE.jar:4.3.2.RELEASE]
      4. org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:133)[spring-aop-4.3.2.RELEASE.jar:4.3.2.RELEASE]
      5. org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:121)[spring-aop-4.3.2.RELEASE.jar:4.3.2.RELEASE]
      6. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)[spring-aop-4.3.2.RELEASE.jar:4.3.2.RELEASE]
      7. org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:213)[spring-aop-4.3.2.RELEASE.jar:4.3.2.RELEASE]
      7 frames
    7. com.sun.proxy
      $Proxy144.launchExecution
      1. com.sun.proxy.$Proxy144.launchExecution(Unknown Source)[?:?]
      1 frame
    8. Spring Web Flow
      FlowHandlerAdapter.handle
      1. org.springframework.webflow.mvc.servlet.FlowHandlerAdapter.handle(FlowHandlerAdapter.java:263)[spring-webflow-2.4.4.RELEASE.jar:2.4.4.RELEASE]
      1 frame
    9. Spring MVC
      FrameworkServlet.doGet
      1. org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:963)[spring-webmvc-4.3.2.RELEASE.jar:4.3.2.RELEASE]
      2. org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:897)[spring-webmvc-4.3.2.RELEASE.jar:4.3.2.RELEASE]
      3. org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:970)[spring-webmvc-4.3.2.RELEASE.jar:4.3.2.RELEASE]
      4. org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:861)[spring-webmvc-4.3.2.RELEASE.jar:4.3.2.RELEASE]
      4 frames
    10. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:622)[servlet-api.jar:?]
      1 frame
    11. Spring MVC
      FrameworkServlet.service
      1. org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:846)[spring-webmvc-4.3.2.RELEASE.jar:4.3.2.RELEASE]
      1 frame
    12. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:729)[servlet-api.jar:?]
      1 frame
    13. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:291)[catalina.jar:8.0.30]
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)[catalina.jar:8.0.30]
      2 frames
    14. Tomcat WS
      WsFilter.doFilter
      1. org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)[tomcat-websocket.jar:8.0.30]
      1 frame
    15. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)[catalina.jar:8.0.30]
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)[catalina.jar:8.0.30]
      2 frames
    16. org.springframework.boot
      ApplicationContextHeaderFilter.doFilterInternal
      1. org.springframework.boot.web.filter.ApplicationContextHeaderFilter.doFilterInternal(ApplicationContextHeaderFilter.java:55)[spring-boot-1.4.0.RELEASE.jar:1.4.0.RELEASE]
      1 frame
    17. Spring
      OncePerRequestFilter.doFilter
      1. org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)[spring-web-4.3.2.RELEASE.jar:4.3.2.RELEASE]
      1 frame
    18. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)[catalina.jar:8.0.30]
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)[catalina.jar:8.0.30]
      2 frames
    19. org.apereo.cas
      CurrentCredentialsAndAuthenticationClearingFilter.doFilter
      1. org.apereo.cas.web.support.CurrentCredentialsAndAuthenticationClearingFilter.doFilter(CurrentCredentialsAndAuthenticationClearingFilter.java:28)[cas-server-core-web-5.0.0.RC2.jar:5.0.0.RC2]
      1 frame
    20. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)[catalina.jar:8.0.30]
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)[catalina.jar:8.0.30]
      2 frames
    21. 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
    22. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)[catalina.jar:8.0.30]
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)[catalina.jar:8.0.30]
      2 frames
    23. 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
    24. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)[catalina.jar:8.0.30]
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)[catalina.jar:8.0.30]
      2 frames
    25. org.apereo.inspektr
      ClientInfoThreadLocalFilter.doFilter
      1. org.apereo.inspektr.common.web.ClientInfoThreadLocalFilter.doFilter(ClientInfoThreadLocalFilter.java:62)[inspektr-common-1.5.GA.jar:1.5.GA]
      1 frame
    26. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)[catalina.jar:8.0.30]
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)[catalina.jar:8.0.30]
      2 frames
    27. Spring Boot Actuator
      WebRequestTraceFilter.doFilterInternal
      1. org.springframework.boot.actuate.trace.WebRequestTraceFilter.doFilterInternal(WebRequestTraceFilter.java:105)[spring-boot-actuator-1.4.0.RELEASE.jar:1.4.0.RELEASE]
      1 frame
    28. Spring
      OncePerRequestFilter.doFilter
      1. org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)[spring-web-4.3.2.RELEASE.jar:4.3.2.RELEASE]
      1 frame
    29. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)[catalina.jar:8.0.30]
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)[catalina.jar:8.0.30]
      2 frames
    30. org.apereo.cas
      ThreadContextMDCServletFilter.doFilter
      1. org.apereo.cas.logging.web.ThreadContextMDCServletFilter.doFilter(ThreadContextMDCServletFilter.java:90)[cas-server-core-logging-5.0.0.RC2.jar:5.0.0.RC2]
      1 frame
    31. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)[catalina.jar:8.0.30]
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)[catalina.jar:8.0.30]
      2 frames
    32. Spring
      OncePerRequestFilter.doFilter
      1. org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:99)[spring-web-4.3.2.RELEASE.jar:4.3.2.RELEASE]
      2. org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)[spring-web-4.3.2.RELEASE.jar:4.3.2.RELEASE]
      2 frames
    33. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)[catalina.jar:8.0.30]
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)[catalina.jar:8.0.30]
      2 frames
    34. Spring
      OncePerRequestFilter.doFilter
      1. org.springframework.web.filter.HttpPutFormContentFilter.doFilterInternal(HttpPutFormContentFilter.java:87)[spring-web-4.3.2.RELEASE.jar:4.3.2.RELEASE]
      2. org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)[spring-web-4.3.2.RELEASE.jar:4.3.2.RELEASE]
      2 frames
    35. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)[catalina.jar:8.0.30]
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)[catalina.jar:8.0.30]
      2 frames
    36. Spring
      OncePerRequestFilter.doFilter
      1. org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:77)[spring-web-4.3.2.RELEASE.jar:4.3.2.RELEASE]
      2. org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)[spring-web-4.3.2.RELEASE.jar:4.3.2.RELEASE]
      2 frames
    37. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)[catalina.jar:8.0.30]
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)[catalina.jar:8.0.30]
      2 frames
    38. Spring Boot Actuator
      MetricsFilter.doFilterInternal
      1. org.springframework.boot.actuate.autoconfigure.MetricsFilter.doFilterInternal(MetricsFilter.java:107)[spring-boot-actuator-1.4.0.RELEASE.jar:1.4.0.RELEASE]
      1 frame
    39. Spring
      OncePerRequestFilter.doFilter
      1. org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)[spring-web-4.3.2.RELEASE.jar:4.3.2.RELEASE]
      1 frame
    40. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)[catalina.jar:8.0.30]
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)[catalina.jar:8.0.30]
      2 frames
    41. Spring
      OncePerRequestFilter.doFilter
      1. org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:197)[spring-web-4.3.2.RELEASE.jar:4.3.2.RELEASE]
      2. org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)[spring-web-4.3.2.RELEASE.jar:4.3.2.RELEASE]
      2 frames
    42. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)[catalina.jar:8.0.30]
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)[catalina.jar:8.0.30]
      2 frames
    43. org.springframework.boot
      ErrorPageFilter$1.doFilterInternal
      1. org.springframework.boot.web.support.ErrorPageFilter.doFilter(ErrorPageFilter.java:119)[spring-boot-1.4.0.RELEASE.jar:1.4.0.RELEASE]
      2. org.springframework.boot.web.support.ErrorPageFilter.access$000(ErrorPageFilter.java:61)[spring-boot-1.4.0.RELEASE.jar:1.4.0.RELEASE]
      3. org.springframework.boot.web.support.ErrorPageFilter$1.doFilterInternal(ErrorPageFilter.java:94)[spring-boot-1.4.0.RELEASE.jar:1.4.0.RELEASE]
      3 frames
    44. Spring
      OncePerRequestFilter.doFilter
      1. org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)[spring-web-4.3.2.RELEASE.jar:4.3.2.RELEASE]
      1 frame
    45. org.springframework.boot
      ErrorPageFilter.doFilter
      1. org.springframework.boot.web.support.ErrorPageFilter.doFilter(ErrorPageFilter.java:112)[spring-boot-1.4.0.RELEASE.jar:1.4.0.RELEASE]
      1 frame
    46. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)[catalina.jar:8.0.30]
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)[catalina.jar:8.0.30]
      2 frames
    47. org.apache.logging
      Log4jServletFilter.doFilter
      1. org.apache.logging.log4j.web.Log4jServletFilter.doFilter(Log4jServletFilter.java:71)[log4j-web-2.6.2.jar:2.6.2]
      1 frame
    48. Glassfish Core
      CoyoteAdapter.service
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)[catalina.jar:8.0.30]
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)[catalina.jar:8.0.30]
      3. org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:212)[catalina.jar:8.0.30]
      4. org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106)[catalina.jar:8.0.30]
      5. org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502)[catalina.jar:8.0.30]
      6. org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:141)[catalina.jar:8.0.30]
      7. org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)[catalina.jar:8.0.30]
      8. org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:616)[catalina.jar:8.0.30]
      9. org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88)[catalina.jar:8.0.30]
      10. org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:521)[catalina.jar:8.0.30]
      10 frames
    49. Grizzly HTTP
      NioEndpoint$SocketProcessor.run
      1. org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1096)[tomcat-coyote.jar:8.0.30]
      2. org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:674)[tomcat-coyote.jar:8.0.30]
      3. org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1500)[tomcat-coyote.jar:8.0.30]
      4. org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1456)[tomcat-coyote.jar:8.0.30]
      4 frames
    50. Java RT
      ThreadPoolExecutor$Worker.run
      1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)[?:1.8.0_60]
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)[?:1.8.0_60]
      2 frames
    51. Tomcat Util
      TaskThread$WrappingRunnable.run
      1. org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)[tomcat-util.jar:8.0.30]
      1 frame
    52. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:745)[?:1.8.0_60]
      1 frame