uchicago / shibboleth-oidc

OpenID Connect support for the Shibboleth Identity Provider v3
Apache License 2.0
81 stars 19 forks source link

IllegalArgumentException "RelyingPartyContext not found" in net.shibboleth.idp.oidc.flow.BuildOpenIdConnectMetadataContextAction#doExecute() #21

Closed edysli closed 8 years ago

edysli commented 8 years ago

I'm getting an ActionExecutionException at the IdP while trying to login from simple-web-app/user. I'm probably doing something wrong but can't figure out what... Any ideas?

Both webapps are running from their respective Jetty instances:

Console log of simple-web-app for the request:

[STDOUT] DEBUG: org.mitre.openid.connect.client.OIDCAuthenticationFilter - Request is to process authentication
[STDOUT] DEBUG: org.mitre.openid.connect.client.OIDCAuthenticationFilter - Auth Request:  https://localhost:8443/idp/profile/oidc/authorize?response_type=code&client_id=client&scope=openid+email+address+profile+phone&redirect_uri=http%3A%2F%2Flocalhost%3A8081%2Fsimple-web-app%2Fopenid_connect_login&nonce=c11705007ed&state=3b8887740a0f7

Console log of IdP for the request:

[STDOUT] 71494 [qtp1698097425-22] DEBUG net.shibboleth.idp.oidc.filter.AuthorizationRequestFilter - No servlet path available. Not an authorization request. Invoking filter chain 
[STDOUT] 72083 [qtp1698097425-22] ERROR org.apache.velocity - ResourceManager : unable to find resource 'status.vm' in any resource loader. 
[STDOUT] 121466 [qtp1698097425-14] DEBUG net.shibboleth.idp.oidc.util.OpenIdConnectUtils - Authorization request not found in session. 
[STDOUT] 121466 [qtp1698097425-14] DEBUG net.shibboleth.idp.oidc.filter.AuthorizationRequestFilter - Evaluating authorization request 
[STDOUT] 121466 [qtp1698097425-14] DEBUG net.shibboleth.idp.oidc.filter.AuthorizationRequestFilter - Constructing authorization request 
[STDOUT] 121471 [qtp1698097425-14] DEBUG net.shibboleth.idp.oidc.filter.AuthorizationRequestFilter - Added request parameter scope with value openid email address profile phone 
[STDOUT] 121472 [qtp1698097425-14] DEBUG net.shibboleth.idp.oidc.filter.AuthorizationRequestFilter - Added request parameter response_type with value code 
[STDOUT] 121473 [qtp1698097425-14] DEBUG net.shibboleth.idp.oidc.filter.AuthorizationRequestFilter - Added request parameter redirect_uri with value http://localhost:8081/simple-web-app/openid_connect_login 
[STDOUT] 121474 [qtp1698097425-14] DEBUG net.shibboleth.idp.oidc.filter.AuthorizationRequestFilter - Added request parameter state with value 3b8887740a0f7 
[STDOUT] 121474 [qtp1698097425-14] DEBUG net.shibboleth.idp.oidc.filter.AuthorizationRequestFilter - Added request parameter nonce with value c11705007ed 
[STDOUT] 121474 [qtp1698097425-14] DEBUG net.shibboleth.idp.oidc.filter.AuthorizationRequestFilter - Added request parameter client_id with value client 
[STDOUT] [EL Info]: 2016-01-08 13:45:24.264--ServerSession(550361189)--EclipseLink, version: Eclipse Persistence Services - 2.6.0.v20150309-bf26070
[STDOUT] [EL Info]: connection: 2016-01-08 13:45:24.482--ServerSession(550361189)--/file:/home/edysli/.m2/repository/org/mitre/openid-connect-common/1.2.3/openid-connect-common-1.2.3.jar_defaultPersistenceUnit login successful
[STDOUT] 121903 [qtp1698097425-14] DEBUG net.shibboleth.idp.oidc.filter.AuthorizationRequestFilter - Loading client by id client 
[STDOUT] 121907 [qtp1698097425-14] DEBUG net.shibboleth.idp.oidc.filter.AuthorizationRequestFilter - Invalid client specified in the request 
[STDOUT] org.springframework.security.oauth2.common.exceptions.InvalidClientException: Client with id client was not found
[STDOUT]    at org.mitre.oauth2.service.impl.DefaultOAuth2ClientDetailsEntityService.loadClientByClientId(DefaultOAuth2ClientDetailsEntityService.java:212) ~[openid-connect-server-1.2.3.jar:na]
[STDOUT]    at net.shibboleth.idp.oidc.filter.AuthorizationRequestFilter.doFilter(AuthorizationRequestFilter.java:82) ~[idp-oidc-impl-3.2.1.jar:na]
[STDOUT]    at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330) [spring-security-web-4.0.2.RELEASE.jar:4.0.2.RELEASE]
[STDOUT]    at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:91) [spring-security-web-4.0.2.RELEASE.jar:4.0.2.RELEASE]
[STDOUT]    at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330) [spring-security-web-4.0.2.RELEASE.jar:4.0.2.RELEASE]
[STDOUT]    at org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:213) [spring-security-web-4.0.2.RELEASE.jar:4.0.2.RELEASE]
[STDOUT]    at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:176) [spring-security-web-4.0.2.RELEASE.jar:4.0.2.RELEASE]
[STDOUT]    at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:346) [spring-web-4.2.3.RELEASE.jar:4.2.3.RELEASE]
[STDOUT]    at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:262) [spring-web-4.2.3.RELEASE.jar:4.2.3.RELEASE]
[STDOUT]    at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1667) [jetty-servlet-9.3.2.v20150730.jar:9.3.2.v20150730]
[STDOUT]    at net.shibboleth.idp.log.SLF4JMDCServletFilter.doFilter(SLF4JMDCServletFilter.java:72) [idp-core-3.2.1.jar:na]
[STDOUT]    at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1667) [jetty-servlet-9.3.2.v20150730.jar:9.3.2.v20150730]
[STDOUT]    at net.shibboleth.utilities.java.support.net.RequestResponseContextFilter.doFilter(RequestResponseContextFilter.java:60) [java-support-7.2.0.jar:na]
[STDOUT]    at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1667) [jetty-servlet-9.3.2.v20150730.jar:9.3.2.v20150730]
[STDOUT]    at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:121) [spring-web-4.2.3.RELEASE.jar:4.2.3.RELEASE]
[STDOUT]    at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) [spring-web-4.2.3.RELEASE.jar:4.2.3.RELEASE]
[STDOUT]    at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1667) [jetty-servlet-9.3.2.v20150730.jar:9.3.2.v20150730]
[STDOUT]    at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:581) [jetty-servlet-9.3.2.v20150730.jar:9.3.2.v20150730]
[STDOUT]    at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143) [jetty-server-9.3.2.v20150730.jar:9.3.2.v20150730]
[STDOUT]    at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:548) [jetty-security-9.3.2.v20150730.jar:9.3.2.v20150730]
[STDOUT]    at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:226) [jetty-server-9.3.2.v20150730.jar:9.3.2.v20150730]
[STDOUT]    at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1114) [jetty-server-9.3.2.v20150730.jar:9.3.2.v20150730]
[STDOUT]    at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:511) [jetty-servlet-9.3.2.v20150730.jar:9.3.2.v20150730]
[STDOUT]    at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185) [jetty-server-9.3.2.v20150730.jar:9.3.2.v20150730]
[STDOUT]    at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1048) [jetty-server-9.3.2.v20150730.jar:9.3.2.v20150730]
[STDOUT]    at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141) [jetty-server-9.3.2.v20150730.jar:9.3.2.v20150730]
[STDOUT]    at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:213) [jetty-server-9.3.2.v20150730.jar:9.3.2.v20150730]
[STDOUT]    at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:109) [jetty-server-9.3.2.v20150730.jar:9.3.2.v20150730]
[STDOUT]    at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:119) [jetty-server-9.3.2.v20150730.jar:9.3.2.v20150730]
[STDOUT]    at org.eclipse.jetty.server.Server.handle(Server.java:517) [jetty-server-9.3.2.v20150730.jar:9.3.2.v20150730]
[STDOUT]    at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:302) [jetty-server-9.3.2.v20150730.jar:9.3.2.v20150730]
[STDOUT]    at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:242) [jetty-server-9.3.2.v20150730.jar:9.3.2.v20150730]
[STDOUT]    at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:245) [jetty-io-9.3.2.v20150730.jar:9.3.2.v20150730]
[STDOUT]    at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:95) [jetty-io-9.3.2.v20150730.jar:9.3.2.v20150730]
[STDOUT]    at org.eclipse.jetty.io.ssl.SslConnection.onFillable(SslConnection.java:192) [jetty-io-9.3.2.v20150730.jar:9.3.2.v20150730]
[STDOUT]    at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:245) [jetty-io-9.3.2.v20150730.jar:9.3.2.v20150730]
[STDOUT]    at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:95) [jetty-io-9.3.2.v20150730.jar:9.3.2.v20150730]
[STDOUT]    at org.eclipse.jetty.io.SelectChannelEndPoint$2.run(SelectChannelEndPoint.java:75) [jetty-io-9.3.2.v20150730.jar:9.3.2.v20150730]
[STDOUT]    at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.produceAndRun(ExecuteProduceConsume.java:213) [jetty-util-9.3.2.v20150730.jar:9.3.2.v20150730]
[STDOUT]    at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.run(ExecuteProduceConsume.java:147) [jetty-util-9.3.2.v20150730.jar:9.3.2.v20150730]
[STDOUT]    at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:654) [jetty-util-9.3.2.v20150730.jar:9.3.2.v20150730]
[STDOUT]    at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:572) [jetty-util-9.3.2.v20150730.jar:9.3.2.v20150730]
[STDOUT]    at java.lang.Thread.run(Thread.java:745) [na:1.8.0_66]
[STDOUT] 121924 [qtp1698097425-14] DEBUG org.springframework.security.oauth2.provider.endpoint.FrameworkEndpointHandlerMapping - Looking up handler method for path /oidc/authorize 
[STDOUT] 121928 [qtp1698097425-14] DEBUG org.springframework.security.oauth2.provider.endpoint.FrameworkEndpointHandlerMapping - Returning handler method [public org.springframework.web.servlet.ModelAndView org.springframework.security.oauth2.provider.endpoint.AuthorizationEndpoint.authorize(java.util.Map<java.lang.String, java.lang.Object>,java.util.Map<java.lang.String, java.lang.String>,org.springframework.web.bind.support.SessionStatus,java.security.Principal)] 
[STDOUT] 122050 [qtp1698097425-22] DEBUG net.shibboleth.idp.oidc.filter.AuthorizationRequestFilter - /profile/oidc/login not an authorization request. Invoking filter chain normally 
[STDOUT] 122426 [qtp1698097425-22] DEBUG net.shibboleth.idp.oidc.flow.InitializeLoginAction - Profile Action InitializeLoginAction: Initializing login action 
[STDOUT] 122427 [qtp1698097425-22] DEBUG net.shibboleth.idp.oidc.util.OpenIdConnectUtils - Authorization request not found in session. 
[STDOUT] 122428 [qtp1698097425-22] WARN  net.shibboleth.idp.oidc.flow.BuildRelyingPartyContextAction - Authorization request could not be loaded from session 
[STDOUT] 122435 [qtp1698097425-22] ERROR org.springframework.webflow.execution.ActionExecutionException -  
[STDOUT] org.springframework.webflow.execution.ActionExecutionException: Exception thrown executing net.shibboleth.idp.oidc.flow.BuildOpenIdConnectMetadataContextAction@7ed234d3 in state 'continueLogin' of flow 'oidc/login' -- action execution attributes were 'map[[empty]]'
[STDOUT]    at org.springframework.webflow.execution.ActionExecutor.execute(ActionExecutor.java:60) ~[spring-webflow-2.4.2.RELEASE.jar:2.4.2.RELEASE]
[STDOUT]    at org.springframework.webflow.action.EvaluateAction.doExecute(EvaluateAction.java:77) ~[spring-webflow-2.4.2.RELEASE.jar:2.4.2.RELEASE]
[STDOUT]    at org.springframework.webflow.action.AbstractAction.execute(AbstractAction.java:188) ~[spring-webflow-2.4.2.RELEASE.jar:2.4.2.RELEASE]
[STDOUT]    at org.springframework.webflow.execution.AnnotatedAction.execute(AnnotatedAction.java:145) ~[spring-webflow-2.4.2.RELEASE.jar:2.4.2.RELEASE]
[STDOUT]    at org.springframework.webflow.execution.ActionExecutor.execute(ActionExecutor.java:51) ~[spring-webflow-2.4.2.RELEASE.jar:2.4.2.RELEASE]
[STDOUT]    at org.springframework.webflow.engine.ActionState.doEnter(ActionState.java:101) ~[spring-webflow-2.4.2.RELEASE.jar:2.4.2.RELEASE]
[STDOUT]    at org.springframework.webflow.engine.State.enter(State.java:194) ~[spring-webflow-2.4.2.RELEASE.jar:2.4.2.RELEASE]
[STDOUT]    at org.springframework.webflow.engine.Transition.execute(Transition.java:228) ~[spring-webflow-2.4.2.RELEASE.jar:2.4.2.RELEASE]
[STDOUT]    at org.springframework.webflow.engine.impl.FlowExecutionImpl.execute(FlowExecutionImpl.java:395) ~[spring-webflow-2.4.2.RELEASE.jar:2.4.2.RELEASE]
[STDOUT]    at org.springframework.webflow.engine.impl.RequestControlContextImpl.execute(RequestControlContextImpl.java:214) ~[spring-webflow-2.4.2.RELEASE.jar:2.4.2.RELEASE]
[STDOUT]    at org.springframework.webflow.engine.TransitionableState.handleEvent(TransitionableState.java:116) ~[spring-webflow-2.4.2.RELEASE.jar:2.4.2.RELEASE]
[STDOUT]    at org.springframework.webflow.engine.SubflowState.handleEvent(SubflowState.java:116) ~[spring-webflow-2.4.2.RELEASE.jar:2.4.2.RELEASE]
[STDOUT]    at org.springframework.webflow.engine.Flow.handleEvent(Flow.java:547) ~[spring-webflow-2.4.2.RELEASE.jar:2.4.2.RELEASE]
[STDOUT]    at org.springframework.webflow.engine.impl.FlowExecutionImpl.handleEvent(FlowExecutionImpl.java:390) ~[spring-webflow-2.4.2.RELEASE.jar:2.4.2.RELEASE]
[STDOUT]    at org.springframework.webflow.engine.impl.RequestControlContextImpl.handleEvent(RequestControlContextImpl.java:210) ~[spring-webflow-2.4.2.RELEASE.jar:2.4.2.RELEASE]
[STDOUT]    at org.springframework.webflow.engine.impl.FlowExecutionImpl.endActiveFlowSession(FlowExecutionImpl.java:414) ~[spring-webflow-2.4.2.RELEASE.jar:2.4.2.RELEASE]
[STDOUT]    at org.springframework.webflow.engine.impl.RequestControlContextImpl.endActiveFlowSession(RequestControlContextImpl.java:238) ~[spring-webflow-2.4.2.RELEASE.jar:2.4.2.RELEASE]
[STDOUT]    at org.springframework.webflow.engine.EndState.doEnter(EndState.java:107) ~[spring-webflow-2.4.2.RELEASE.jar:2.4.2.RELEASE]
[STDOUT]    at org.springframework.webflow.engine.State.enter(State.java:194) ~[spring-webflow-2.4.2.RELEASE.jar:2.4.2.RELEASE]
[STDOUT]    at org.springframework.webflow.engine.Transition.execute(Transition.java:228) ~[spring-webflow-2.4.2.RELEASE.jar:2.4.2.RELEASE]
[STDOUT]    at org.springframework.webflow.engine.impl.FlowExecutionImpl.execute(FlowExecutionImpl.java:395) ~[spring-webflow-2.4.2.RELEASE.jar:2.4.2.RELEASE]
[STDOUT]    at org.springframework.webflow.engine.impl.RequestControlContextImpl.execute(RequestControlContextImpl.java:214) ~[spring-webflow-2.4.2.RELEASE.jar:2.4.2.RELEASE]
[STDOUT]    at org.springframework.webflow.engine.TransitionableState.handleEvent(TransitionableState.java:116) ~[spring-webflow-2.4.2.RELEASE.jar:2.4.2.RELEASE]
[STDOUT]    at org.springframework.webflow.engine.Flow.handleEvent(Flow.java:547) ~[spring-webflow-2.4.2.RELEASE.jar:2.4.2.RELEASE]
[STDOUT]    at org.springframework.webflow.engine.impl.FlowExecutionImpl.handleEvent(FlowExecutionImpl.java:390) ~[spring-webflow-2.4.2.RELEASE.jar:2.4.2.RELEASE]
[STDOUT]    at org.springframework.webflow.engine.impl.RequestControlContextImpl.handleEvent(RequestControlContextImpl.java:210) ~[spring-webflow-2.4.2.RELEASE.jar:2.4.2.RELEASE]
[STDOUT]    at org.springframework.webflow.engine.ActionState.doEnter(ActionState.java:105) ~[spring-webflow-2.4.2.RELEASE.jar:2.4.2.RELEASE]
[STDOUT]    at org.springframework.webflow.engine.State.enter(State.java:194) ~[spring-webflow-2.4.2.RELEASE.jar:2.4.2.RELEASE]
[STDOUT]    at org.springframework.webflow.engine.Transition.execute(Transition.java:228) ~[spring-webflow-2.4.2.RELEASE.jar:2.4.2.RELEASE]
[STDOUT]    at org.springframework.webflow.engine.DecisionState.doEnter(DecisionState.java:51) ~[spring-webflow-2.4.2.RELEASE.jar:2.4.2.RELEASE]
[STDOUT]    at org.springframework.webflow.engine.State.enter(State.java:194) ~[spring-webflow-2.4.2.RELEASE.jar:2.4.2.RELEASE]
[STDOUT]    at org.springframework.webflow.engine.Flow.start(Flow.java:527) ~[spring-webflow-2.4.2.RELEASE.jar:2.4.2.RELEASE]
[STDOUT]    at org.springframework.webflow.engine.impl.FlowExecutionImpl.start(FlowExecutionImpl.java:368) ~[spring-webflow-2.4.2.RELEASE.jar:2.4.2.RELEASE]
[STDOUT]    at org.springframework.webflow.engine.impl.RequestControlContextImpl.start(RequestControlContextImpl.java:234) ~[spring-webflow-2.4.2.RELEASE.jar:2.4.2.RELEASE]
[STDOUT]    at org.springframework.webflow.engine.SubflowState.doEnter(SubflowState.java:101) ~[spring-webflow-2.4.2.RELEASE.jar:2.4.2.RELEASE]
[STDOUT]    at org.springframework.webflow.engine.State.enter(State.java:194) ~[spring-webflow-2.4.2.RELEASE.jar:2.4.2.RELEASE]
[STDOUT]    at org.springframework.webflow.engine.Transition.execute(Transition.java:228) ~[spring-webflow-2.4.2.RELEASE.jar:2.4.2.RELEASE]
[STDOUT]    at org.springframework.webflow.engine.impl.FlowExecutionImpl.execute(FlowExecutionImpl.java:395) ~[spring-webflow-2.4.2.RELEASE.jar:2.4.2.RELEASE]
[STDOUT]    at org.springframework.webflow.engine.impl.RequestControlContextImpl.execute(RequestControlContextImpl.java:214) ~[spring-webflow-2.4.2.RELEASE.jar:2.4.2.RELEASE]
[STDOUT]    at org.springframework.webflow.engine.TransitionableState.handleEvent(TransitionableState.java:116) ~[spring-webflow-2.4.2.RELEASE.jar:2.4.2.RELEASE]
[STDOUT]    at org.springframework.webflow.engine.Flow.handleEvent(Flow.java:547) ~[spring-webflow-2.4.2.RELEASE.jar:2.4.2.RELEASE]
[STDOUT]    at org.springframework.webflow.engine.impl.FlowExecutionImpl.handleEvent(FlowExecutionImpl.java:390) ~[spring-webflow-2.4.2.RELEASE.jar:2.4.2.RELEASE]
[STDOUT]    at org.springframework.webflow.engine.impl.RequestControlContextImpl.handleEvent(RequestControlContextImpl.java:210) ~[spring-webflow-2.4.2.RELEASE.jar:2.4.2.RELEASE]
[STDOUT]    at org.springframework.webflow.engine.ActionState.doEnter(ActionState.java:105) ~[spring-webflow-2.4.2.RELEASE.jar:2.4.2.RELEASE]
[STDOUT]    at org.springframework.webflow.engine.State.enter(State.java:194) ~[spring-webflow-2.4.2.RELEASE.jar:2.4.2.RELEASE]
[STDOUT]    at org.springframework.webflow.engine.Flow.start(Flow.java:527) ~[spring-webflow-2.4.2.RELEASE.jar:2.4.2.RELEASE]
[STDOUT]    at org.springframework.webflow.engine.impl.FlowExecutionImpl.start(FlowExecutionImpl.java:368) ~[spring-webflow-2.4.2.RELEASE.jar:2.4.2.RELEASE]
[STDOUT]    at org.springframework.webflow.engine.impl.FlowExecutionImpl.start(FlowExecutionImpl.java:223) ~[spring-webflow-2.4.2.RELEASE.jar:2.4.2.RELEASE]
[STDOUT]    at org.springframework.webflow.executor.FlowExecutorImpl.launchExecution(FlowExecutorImpl.java:140) ~[spring-webflow-2.4.2.RELEASE.jar:2.4.2.RELEASE]
[STDOUT]    at org.springframework.webflow.mvc.servlet.FlowHandlerAdapter.handle(FlowHandlerAdapter.java:238) ~[spring-webflow-2.4.2.RELEASE.jar:2.4.2.RELEASE]
[STDOUT]    at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:959) [spring-webmvc-4.2.3.RELEASE.jar:4.2.3.RELEASE]
[STDOUT]    at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:893) [spring-webmvc-4.2.3.RELEASE.jar:4.2.3.RELEASE]
[STDOUT]    at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:970) [spring-webmvc-4.2.3.RELEASE.jar:4.2.3.RELEASE]
[STDOUT]    at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:861) [spring-webmvc-4.2.3.RELEASE.jar:4.2.3.RELEASE]
[STDOUT]    at javax.servlet.http.HttpServlet.service(HttpServlet.java:687) [javax.servlet-api-3.1.0.jar:3.1.0]
[STDOUT]    at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:846) [spring-webmvc-4.2.3.RELEASE.jar:4.2.3.RELEASE]
[STDOUT]    at javax.servlet.http.HttpServlet.service(HttpServlet.java:790) [javax.servlet-api-3.1.0.jar:3.1.0]
[STDOUT]    at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:816) [jetty-servlet-9.3.2.v20150730.jar:9.3.2.v20150730]
[STDOUT]    at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1684) [jetty-servlet-9.3.2.v20150730.jar:9.3.2.v20150730]
[STDOUT]    at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:316) [spring-security-web-4.0.2.RELEASE.jar:4.0.2.RELEASE]
[STDOUT]    at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:126) [spring-security-web-4.0.2.RELEASE.jar:4.0.2.RELEASE]
[STDOUT]    at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:90) [spring-security-web-4.0.2.RELEASE.jar:4.0.2.RELEASE]
[STDOUT]    at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330) [spring-security-web-4.0.2.RELEASE.jar:4.0.2.RELEASE]
[STDOUT]    at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:114) [spring-security-web-4.0.2.RELEASE.jar:4.0.2.RELEASE]
[STDOUT]    at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330) [spring-security-web-4.0.2.RELEASE.jar:4.0.2.RELEASE]
[STDOUT]    at org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:122) [spring-security-web-4.0.2.RELEASE.jar:4.0.2.RELEASE]
[STDOUT]    at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330) [spring-security-web-4.0.2.RELEASE.jar:4.0.2.RELEASE]
[STDOUT]    at org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:111) [spring-security-web-4.0.2.RELEASE.jar:4.0.2.RELEASE]
[STDOUT]    at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330) [spring-security-web-4.0.2.RELEASE.jar:4.0.2.RELEASE]
[STDOUT]    at org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:169) [spring-security-web-4.0.2.RELEASE.jar:4.0.2.RELEASE]
[STDOUT]    at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330) [spring-security-web-4.0.2.RELEASE.jar:4.0.2.RELEASE]
[STDOUT]    at org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:48) [spring-security-web-4.0.2.RELEASE.jar:4.0.2.RELEASE]
[STDOUT]    at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330) [spring-security-web-4.0.2.RELEASE.jar:4.0.2.RELEASE]
[STDOUT]    at org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:205) [spring-security-web-4.0.2.RELEASE.jar:4.0.2.RELEASE]
[STDOUT]    at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330) [spring-security-web-4.0.2.RELEASE.jar:4.0.2.RELEASE]
[STDOUT]    at org.springframework.security.web.csrf.CsrfFilter.doFilterInternal(CsrfFilter.java:96) [spring-security-web-4.0.2.RELEASE.jar:4.0.2.RELEASE]
[STDOUT]    at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) [spring-web-4.2.3.RELEASE.jar:4.2.3.RELEASE]
[STDOUT]    at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330) [spring-security-web-4.0.2.RELEASE.jar:4.0.2.RELEASE]
[STDOUT]    at org.springframework.security.web.header.HeaderWriterFilter.doFilterInternal(HeaderWriterFilter.java:64) [spring-security-web-4.0.2.RELEASE.jar:4.0.2.RELEASE]
[STDOUT]    at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) [spring-web-4.2.3.RELEASE.jar:4.2.3.RELEASE]
[STDOUT]    at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330) [spring-security-web-4.0.2.RELEASE.jar:4.0.2.RELEASE]
[STDOUT]    at org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter.doFilterInternal(WebAsyncManagerIntegrationFilter.java:53) [spring-security-web-4.0.2.RELEASE.jar:4.0.2.RELEASE]
[STDOUT]    at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) [spring-web-4.2.3.RELEASE.jar:4.2.3.RELEASE]
[STDOUT]    at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330) [spring-security-web-4.0.2.RELEASE.jar:4.0.2.RELEASE]
[STDOUT]    at net.shibboleth.idp.oidc.filter.AuthorizationRequestFilter.doFilter(AuthorizationRequestFilter.java:62) [idp-oidc-impl-3.2.1.jar:na]
[STDOUT]    at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330) [spring-security-web-4.0.2.RELEASE.jar:4.0.2.RELEASE]
[STDOUT]    at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:91) [spring-security-web-4.0.2.RELEASE.jar:4.0.2.RELEASE]
[STDOUT]    at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330) [spring-security-web-4.0.2.RELEASE.jar:4.0.2.RELEASE]
[STDOUT]    at org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:213) [spring-security-web-4.0.2.RELEASE.jar:4.0.2.RELEASE]
[STDOUT]    at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:176) [spring-security-web-4.0.2.RELEASE.jar:4.0.2.RELEASE]
[STDOUT]    at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:346) [spring-web-4.2.3.RELEASE.jar:4.2.3.RELEASE]
[STDOUT]    at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:262) [spring-web-4.2.3.RELEASE.jar:4.2.3.RELEASE]
[STDOUT]    at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1667) [jetty-servlet-9.3.2.v20150730.jar:9.3.2.v20150730]
[STDOUT]    at net.shibboleth.idp.log.SLF4JMDCServletFilter.doFilter(SLF4JMDCServletFilter.java:72) [idp-core-3.2.1.jar:na]
[STDOUT]    at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1667) [jetty-servlet-9.3.2.v20150730.jar:9.3.2.v20150730]
[STDOUT]    at net.shibboleth.utilities.java.support.net.RequestResponseContextFilter.doFilter(RequestResponseContextFilter.java:60) [java-support-7.2.0.jar:na]
[STDOUT]    at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1667) [jetty-servlet-9.3.2.v20150730.jar:9.3.2.v20150730]
[STDOUT]    at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:121) [spring-web-4.2.3.RELEASE.jar:4.2.3.RELEASE]
[STDOUT]    at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) [spring-web-4.2.3.RELEASE.jar:4.2.3.RELEASE]
[STDOUT]    at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1667) [jetty-servlet-9.3.2.v20150730.jar:9.3.2.v20150730]
[STDOUT]    at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:581) [jetty-servlet-9.3.2.v20150730.jar:9.3.2.v20150730]
[STDOUT]    at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143) [jetty-server-9.3.2.v20150730.jar:9.3.2.v20150730]
[STDOUT]    at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:548) [jetty-security-9.3.2.v20150730.jar:9.3.2.v20150730]
[STDOUT]    at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:226) [jetty-server-9.3.2.v20150730.jar:9.3.2.v20150730]
[STDOUT]    at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1114) [jetty-server-9.3.2.v20150730.jar:9.3.2.v20150730]
[STDOUT]    at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:511) [jetty-servlet-9.3.2.v20150730.jar:9.3.2.v20150730]
[STDOUT]    at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185) [jetty-server-9.3.2.v20150730.jar:9.3.2.v20150730]
[STDOUT]    at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1048) [jetty-server-9.3.2.v20150730.jar:9.3.2.v20150730]
[STDOUT]    at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141) [jetty-server-9.3.2.v20150730.jar:9.3.2.v20150730]
[STDOUT]    at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:213) [jetty-server-9.3.2.v20150730.jar:9.3.2.v20150730]
[STDOUT]    at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:109) [jetty-server-9.3.2.v20150730.jar:9.3.2.v20150730]
[STDOUT]    at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:119) [jetty-server-9.3.2.v20150730.jar:9.3.2.v20150730]
[STDOUT]    at org.eclipse.jetty.server.Server.handle(Server.java:517) [jetty-server-9.3.2.v20150730.jar:9.3.2.v20150730]
[STDOUT]    at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:302) [jetty-server-9.3.2.v20150730.jar:9.3.2.v20150730]
[STDOUT]    at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:242) [jetty-server-9.3.2.v20150730.jar:9.3.2.v20150730]
[STDOUT]    at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:245) [jetty-io-9.3.2.v20150730.jar:9.3.2.v20150730]
[STDOUT]    at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:95) [jetty-io-9.3.2.v20150730.jar:9.3.2.v20150730]
[STDOUT]    at org.eclipse.jetty.io.ssl.SslConnection.onFillable(SslConnection.java:192) [jetty-io-9.3.2.v20150730.jar:9.3.2.v20150730]
[STDOUT]    at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:245) [jetty-io-9.3.2.v20150730.jar:9.3.2.v20150730]
[STDOUT]    at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:95) [jetty-io-9.3.2.v20150730.jar:9.3.2.v20150730]
[STDOUT]    at org.eclipse.jetty.io.SelectChannelEndPoint$2.run(SelectChannelEndPoint.java:75) [jetty-io-9.3.2.v20150730.jar:9.3.2.v20150730]
[STDOUT]    at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.produceAndRun(ExecuteProduceConsume.java:213) [jetty-util-9.3.2.v20150730.jar:9.3.2.v20150730]
[STDOUT]    at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.run(ExecuteProduceConsume.java:147) [jetty-util-9.3.2.v20150730.jar:9.3.2.v20150730]
[STDOUT]    at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:654) [jetty-util-9.3.2.v20150730.jar:9.3.2.v20150730]
[STDOUT]    at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:572) [jetty-util-9.3.2.v20150730.jar:9.3.2.v20150730]
[STDOUT]    at java.lang.Thread.run(Thread.java:745) [na:1.8.0_66]
[STDOUT] Caused by: java.lang.IllegalArgumentException: RelyingPartyContext not found
[STDOUT]    at net.shibboleth.idp.oidc.flow.BuildOpenIdConnectMetadataContextAction.doExecute(BuildOpenIdConnectMetadataContextAction.java:31) ~[idp-oidc-impl-3.2.1.jar:na]
[STDOUT]    at net.shibboleth.idp.profile.AbstractProfileAction.execute(AbstractProfileAction.java:126) ~[idp-profile-api-3.2.1.jar:na]
[STDOUT]    at org.springframework.webflow.execution.ActionExecutor.execute(ActionExecutor.java:51) ~[spring-webflow-2.4.2.RELEASE.jar:2.4.2.RELEASE]
[STDOUT]    ... 125 common frames omitted
[STDOUT] 122604 [qtp1698097425-16] DEBUG net.shibboleth.idp.oidc.filter.AuthorizationRequestFilter - No servlet path available. Not an authorization request. Invoking filter chain 
[STDOUT] 122629 [qtp1698097425-20] DEBUG net.shibboleth.idp.oidc.filter.AuthorizationRequestFilter - No servlet path available. Not an authorization request. Invoking filter chain
mmoayyed commented 8 years ago

First, are you sure you are running the latest code? If so, I'll have to look into this. Probably some time next week.

mmoayyed commented 8 years ago

Try the latest master.

edysli commented 8 years ago

I tried again with the latest master (1ed0859) and it works, thanks! :)

Now I get an error at http://localhost:8081/simple-web-app/openid_connect_login?code=kFUTP0&state=313bdb2b422dc but that's another story...