Uploaded image for project: 'OpenAM'
  1. OpenAM
  2. OPENAM-9964

Unable to logout stateless sessions

    Details

    • Target Version/s:
    • Rank:
      1|hzsguf:

      Description

      It is no longer possible to logout a stateless session via the /json/sessions?_action=logout endpoint and therefore from the XUI. A 500 error is generated with the following in the CoreSystem logs:

      frRest:11/07/2016 12:06:06:861 PM GMT: Thread[http-nio-8080-exec-7,5,main]: TransactionId[2ef7ad35-71f5-43ff-aebb-a5b162a207be-218]
      ERROR: A runtime exception occurred during the CREST request handling
      org.forgerock.guava.common.util.concurrent.UncheckedExecutionException: java.lang.IllegalStateException: Failed to create encrypted storage key for:
      Session ID: *AAJTSQACMDEAAlMxAAA.*eyJ0eXAiOiJKV1QiLCJjdHkiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.ZXlKMGVYQWlPaUpLVjFRaUxDSjZhWEFpT2lKT1QwNUZJaXdpWlc1aklqb2lRVEV5T0VOQ1F5MUlVekkxTmlJc0ltRnNaeUk2SW1ScGNpSjkuLk1ZMk9lQ3dsZ2NGdmV6T0ZqLW01T1EuSUp6c3JucHRUMC1weV95bVVOMVB0TUUtV3BER1BETEJxT2g1M1U0WVVNdlFlaEdkWFN5LThnN0l5TmlLY0dxSTlVLUQ5RlM2TFVSTTYtX0RVaFZuYjdKdVZQSEZZdFNlNXAzWlZqV0VTQjlTeTlLbkZoaXVKR0U5Q1kweEQxRnduRmxOYnpaOXlZTUQ2WXN6NnFEY0FtbFY0WFZHVE8zRFVNaHhHemxTLUU1N1BDU2kxUl95eDdXR3VYYURiQnVQSm9oT1F1MVlzbmxKOGRxc0tfRHZLV3I1bFlUQnV1dHRMbkVxNFJ0MUFWRE1hRDFpVmxXNXJPWkJPVjhETzVaVmdrVDRsRVVFWWd5dzZBV0xGZDhzbWtTVWZiazVtZGdGaFR0bXdfbVBrTGRUTjZJaXRHdUU0M1dxeExUVG9sQ2FvaEVLZkw3UGZJU2dWN1dyd3A2cm56Z3VMaG44OURXOTYzdWIyTGtpX284bF9hY1A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QTFwakJoejBsdzNkS3NaNG4tWnpSUDlWcnhwOG4xOEhLYUVvRlhZaWVOWHZ2dzk2dEJnWEpxVk51d1FfRHJPd3VOeWFSZjVzYTJndTVwTmtaNUxIcncuckhfb2ZoYlFSWjAyeXVqUFgxQmx0dw.LO7U-B04XuOOHZgsWq69yvlYXLNB19vzX9Dg-aD2Ot0
      	at org.forgerock.guava.common.cache.LocalCache$Segment.get(LocalCache.java:2203)
      	at org.forgerock.guava.common.cache.LocalCache.get(LocalCache.java:3937)
      	at org.forgerock.guava.common.cache.LocalCache$LocalManualCache.get(LocalCache.java:4739)
      	at org.forgerock.openam.session.service.access.persistence.caching.InMemoryInternalSessionCacheStep.getFromCacheOrFind(InMemoryInternalSessionCacheStep.java:178)
      	at org.forgerock.openam.session.service.access.persistence.caching.InMemoryInternalSessionCacheStep.getBySessionID(InMemoryInternalSessionCacheStep.java:78)
      	at org.forgerock.openam.session.service.access.persistence.InternalSessionStoreChain$ChainIterator.getBySessionID(InternalSessionStoreChain.java:70)
      	at org.forgerock.openam.session.service.access.persistence.TimeOutSessionFilterStep.getBySessionID(TimeOutSessionFilterStep.java:36)
      	at org.forgerock.openam.session.service.access.persistence.InternalSessionStoreChain$ChainIterator.getBySessionID(InternalSessionStoreChain.java:70)
      	at org.forgerock.openam.session.service.access.persistence.InternalSessionStoreChain.getBySessionID(InternalSessionStoreChain.java:40)
      	at org.forgerock.openam.session.service.SessionAccessManager.getInternalSession(SessionAccessManager.java:108)
      	at com.sun.identity.authentication.service.AuthD.getSession(AuthD.java:568)
      	at com.sun.identity.authentication.service.AuthD.getSession(AuthD.java:545)
      	at com.sun.identity.authentication.service.AuthUtils.logout(AuthUtils.java:1644)
      	at org.forgerock.openam.authentication.service.AuthUtilsWrapper.logout(AuthUtilsWrapper.java:51)
      	at org.forgerock.openam.core.rest.session.action.LogoutActionHandler.logout(LogoutActionHandler.java:167)
      	at org.forgerock.openam.core.rest.session.action.LogoutActionHandler.handle(LogoutActionHandler.java:111)
      	at org.forgerock.openam.core.rest.session.SessionResourceV2.internalHandleAction(SessionResourceV2.java:312)
      	at org.forgerock.openam.core.rest.session.SessionResourceV2.actionCollection(SessionResourceV2.java:274)
      	at org.forgerock.json.resource.InterfaceCollectionHandler.handleAction(InterfaceCollectionHandler.java:34)
      	at org.forgerock.json.resource.Router.handleAction(Router.java:258)
      	at org.forgerock.json.resource.Router.handleAction(Router.java:258)
      	at org.forgerock.json.resource.FilterChain$Cursor.handleAction(FilterChain.java:63)
      	at org.forgerock.authz.filter.crest.AuthorizationFilters$AuthorizationFilter$1.apply(AuthorizationFilters.java:237)
      	at org.forgerock.authz.filter.crest.AuthorizationFilters$AuthorizationFilter$1.apply(AuthorizationFilters.java:233)
      	at org.forgerock.util.promise.Promises$CompletedPromise.thenAsync(Promises.java:255)
      	at org.forgerock.util.promise.Promises$CompletedPromise.thenAsync(Promises.java:244)
      	at org.forgerock.util.promise.Promises$CompletedPromise.thenAsync(Promises.java:223)
      	at org.forgerock.authz.filter.crest.AuthorizationFilters$AuthorizationFilter.filterAction(AuthorizationFilters.java:232)
      	at org.forgerock.json.resource.FilterChain$Cursor.handleAction(FilterChain.java:61)
      	at org.forgerock.json.resource.FilterChain.handleAction(FilterChain.java:230)
      	at org.forgerock.json.resource.FilterChain$Cursor.handleAction(FilterChain.java:63)
      	at org.forgerock.openam.rest.fluent.AuditFilter.filterAction(AuditFilter.java:89)
      	at org.forgerock.openam.rest.fluent.AuditFilterWrapper.filterAction(AuditFilterWrapper.java:60)
      	at org.forgerock.json.resource.FilterChain$Cursor.handleAction(FilterChain.java:61)
      	at org.forgerock.openam.rest.fluent.CrestLoggingFilter.filterAction(CrestLoggingFilter.java:74)
      	at org.forgerock.json.resource.FilterChain$Cursor.handleAction(FilterChain.java:61)
      	at org.forgerock.openam.rest.ContextFilter.filterAction(ContextFilter.java:57)
      	at org.forgerock.json.resource.FilterChain$Cursor.handleAction(FilterChain.java:61)
      	at org.forgerock.openam.rest.AuthenticationEnforcer.filterAction(AuthenticationEnforcer.java:137)
      	at org.forgerock.json.resource.FilterChain$Cursor.handleAction(FilterChain.java:61)
      	at org.forgerock.json.resource.FilterChain.handleAction(FilterChain.java:230)
      	at org.forgerock.json.resource.Router.handleAction(Router.java:258)
      	at org.forgerock.json.resource.FilterChain$Cursor.handleAction(FilterChain.java:63)
      	at org.forgerock.openam.rest.ContextFilter.filterAction(ContextFilter.java:57)
      	at org.forgerock.json.resource.FilterChain$Cursor.handleAction(FilterChain.java:61)
      	at org.forgerock.json.resource.FilterChain.handleAction(FilterChain.java:230)
      	at org.forgerock.json.resource.InternalConnection.actionAsync(InternalConnection.java:37)
      	at org.forgerock.json.resource.http.RequestRunner.visitActionRequest(RequestRunner.java:148)
      	at org.forgerock.json.resource.http.RequestRunner.visitActionRequest(RequestRunner.java:94)
      	at org.forgerock.json.resource.Requests$ActionRequestImpl.accept(Requests.java:185)
      	at org.forgerock.json.resource.http.RequestRunner.handleResult(RequestRunner.java:140)
      	at org.forgerock.json.resource.http.HttpAdapter$1.apply(HttpAdapter.java:722)
      	at org.forgerock.json.resource.http.HttpAdapter$1.apply(HttpAdapter.java:719)
      	at org.forgerock.util.promise.Promises$CompletedPromise.thenAsync(Promises.java:255)
      	at org.forgerock.util.promise.Promises$CompletedPromise.thenAsync(Promises.java:244)
      	at org.forgerock.json.resource.http.HttpAdapter.doRequest(HttpAdapter.java:718)
      	at org.forgerock.json.resource.http.HttpAdapter.doAction(HttpAdapter.java:624)
      	at org.forgerock.json.resource.http.HttpAdapter.handle(HttpAdapter.java:288)
      	at org.forgerock.http.handler.Handlers$HandlerDescribableAsDescribableHandler.handle(Handlers.java:154)
      	at org.forgerock.http.filter.OptionsFilter.filter(OptionsFilter.java:77)
      	at org.forgerock.http.handler.Handlers$1.handle(Handlers.java:61)
      	at org.forgerock.openam.rest.CrestProtocolEnforcementFilter.filter(CrestProtocolEnforcementFilter.java:61)
      	at org.forgerock.http.handler.Handlers$1.handle(Handlers.java:61)
      	at org.forgerock.http.routing.Router.handle(Router.java:108)
      	at org.forgerock.openam.rest.RealmContextFilter.filter(RealmContextFilter.java:86)
      	at org.forgerock.http.handler.Handlers$1.handle(Handlers.java:61)
      	at org.forgerock.http.routing.Router.handle(Router.java:108)
      	at org.forgerock.http.routing.ResourceApiVersionRoutingFilter.filter(ResourceApiVersionRoutingFilter.java:64)
      	at org.forgerock.http.handler.Handlers$1.handle(Handlers.java:61)
      	at org.forgerock.caf.authentication.framework.AuthenticationFramework.grantAccess(AuthenticationFramework.java:201)
      	at org.forgerock.caf.authentication.framework.AuthenticationFramework.access$200(AuthenticationFramework.java:64)
      	at org.forgerock.caf.authentication.framework.AuthenticationFramework$2.apply(AuthenticationFramework.java:193)
      	at org.forgerock.caf.authentication.framework.AuthenticationFramework$2.apply(AuthenticationFramework.java:186)
      	at org.forgerock.util.promise.Promises$CompletedPromise.thenAsync(Promises.java:255)
      	at org.forgerock.util.promise.Promises$CompletedPromise.thenAsync(Promises.java:244)
      	at org.forgerock.caf.authentication.framework.AuthenticationFramework.validateRequest(AuthenticationFramework.java:149)
      	at org.forgerock.caf.authentication.framework.AuthenticationFramework.processMessage(AuthenticationFramework.java:141)
      	at org.forgerock.caf.authentication.framework.AuthenticationFilter.filter(AuthenticationFilter.java:92)
      	at org.forgerock.http.handler.Handlers$1.handle(Handlers.java:61)
      	at org.forgerock.openam.http.GuiceHandler.handle(GuiceHandler.java:59)
      	at org.forgerock.openam.http.HttpRoute$6.handle(HttpRoute.java:214)
      	at org.forgerock.http.routing.Router.handle(Router.java:108)
      	at org.forgerock.http.swagger.OpenApiRequestFilter.filter(OpenApiRequestFilter.java:69)
      	at org.forgerock.http.handler.Handlers$1.handle(Handlers.java:61)
      	at org.forgerock.openam.http.ApiDescriptorFilter.filter(ApiDescriptorFilter.java:122)
      	at org.forgerock.http.handler.Handlers$1.handle(Handlers.java:61)
      	at org.forgerock.openam.http.OpenAMHttpApplication$1.filter(OpenAMHttpApplication.java:70)
      	at org.forgerock.http.handler.Handlers$1.handle(Handlers.java:61)
      	at org.forgerock.http.filter.TransactionIdInboundFilter.filter(TransactionIdInboundFilter.java:60)
      	at org.forgerock.http.handler.Handlers$1.handle(Handlers.java:61)
      	at org.forgerock.http.servlet.HttpFrameworkServlet.service(HttpFrameworkServlet.java:236)
      	at javax.servlet.http.HttpServlet.service(HttpServlet.java:725)
      	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:291)
      	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      	at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
      	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
      	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      	at org.forgerock.openam.validation.ResponseValidationFilter.doFilter(ResponseValidationFilter.java:44)
      	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
      	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      	at com.sun.identity.setup.AMSetupFilter.doFilter(AMSetupFilter.java:111)
      	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
      	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      	at org.forgerock.openam.audit.context.AuditContextFilter.doFilter(AuditContextFilter.java:51)
      	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
      	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:219)
      	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106)
      	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:501)
      	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:142)
      	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)
      	at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:610)
      	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88)
      	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:516)
      	at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1086)
      	at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:659)
      	at org.apache.coyote.http11.Http11NioProtocol$Http11ConnectionHandler.process(Http11NioProtocol.java:223)
      	at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1558)
      	at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1515)
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      	at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
      	at java.lang.Thread.run(Thread.java:745)
      Caused by: java.lang.IllegalStateException: Failed to create encrypted storage key for:
      Session ID: *AAJTSQACMDEAAlMxAAA.*eyJ0eXAiOiJKV1QiLCJjdHkiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.ZXlKMGVYQWlPaUpLVjFRaUxDSjZhWEFpT2lKT1QwNUZJaXdpWlc1aklqb2lRVEV5T0VOQ1F5MUlVekkxTmlJc0ltRnNaeUk2SW1ScGNpSjkuLk1ZMk9lQ3dsZ2NGdmV6T0ZqLW01T1EuSUp6c3JucHRUMC1weV95bVVOMVB0TUUtV3BER1BETEJxT2g1M1U0WVVNdlFlaEdkWFN5LThnN0l5TmlLY0dxSTlVLUQ5RlM2TFVSTTYtX0RVaFZuYjdKdVZQSEZZdFNlNXAzWlZqV0VTQjlTeTlLbkZoaXVKR0U5Q1kweEQxRnduRmxOYnpaOXlZTUQ2WXN6NnFEY0FtbFY0WFZHVE8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tUHp4LVNxYWJwS1FnaWRwOHpnMlp3cnY1bklsYjFsU1hwZ2R1MS1BR1FKZEhGd3RBY2E2S1dMUHp5V3hDcjJ1LWxzcGV1Y1lZZHZ6emcwMWJTWTVSc1pxYnFpb1k4QW1oZ2pWdGFtTG5TbVR1TXNUTWlvZ0FQN0R3bzZZb19lN294eF9Pa3EySHB1ZGpSYVZPLXJlOW1aM09GWV9waDMxRkJURm9haU1xTnExZzc5NDg1LXJna3JZR0FhWkZmY1FOeVkyY0ZNN0VJckpnelhzQTFwakJoejBsdzNkS3NaNG4tWnpSUDlWcnhwOG4xOEhLYUVvRlhZaWVOWHZ2dzk2dEJnWEpxVk51d1FfRHJPd3VOeWFSZjVzYTJndTVwTmtaNUxIcncuckhfb2ZoYlFSWjAyeXVqUFgxQmx0dw.LO7U-B04XuOOHZgsWq69yvlYXLNB19vzX9Dg-aD2Ot0
      	at org.forgerock.openam.cts.utils.KeyConversion.encryptKey(KeyConversion.java:79)
      	at org.forgerock.openam.cts.api.tokens.TokenIdFactory.toSessionTokenId(TokenIdFactory.java:92)
      	at org.forgerock.openam.session.service.access.persistence.SessionPersistenceStore.recoverSession(SessionPersistenceStore.java:134)
      	at org.forgerock.openam.session.service.access.persistence.InternalSessionPersistenceStoreStep.getBySessionID(InternalSessionPersistenceStoreStep.java:42)
      	at org.forgerock.openam.session.service.access.persistence.InternalSessionStoreChain$ChainIterator.getBySessionID(InternalSessionStoreChain.java:72)
      	at org.forgerock.openam.session.service.access.persistence.caching.InMemoryInternalSessionCacheStep$1.call(InMemoryInternalSessionCacheStep.java:81)
      	at org.forgerock.openam.session.service.access.persistence.caching.InMemoryInternalSessionCacheStep$1.call(InMemoryInternalSessionCacheStep.java:78)
      	at org.forgerock.openam.session.service.access.persistence.caching.InMemoryInternalSessionCacheStep$4.call(InMemoryInternalSessionCacheStep.java:181)
      	at org.forgerock.openam.session.service.access.persistence.caching.InMemoryInternalSessionCacheStep$4.call(InMemoryInternalSessionCacheStep.java:178)
      	at org.forgerock.guava.common.cache.LocalCache$LocalManualCache$1.load(LocalCache.java:4742)
      	at org.forgerock.guava.common.cache.LocalCache$LoadingValueReference.loadFuture(LocalCache.java:3527)
      	at org.forgerock.guava.common.cache.LocalCache$Segment.loadSync(LocalCache.java:2319)
      	at org.forgerock.guava.common.cache.LocalCache$Segment.lockedGetOrLoad(LocalCache.java:2282)
      	at org.forgerock.guava.common.cache.LocalCache$Segment.get(LocalCache.java:2197)
      	... 122 more
      Caused by: com.iplanet.dpro.session.SessionException: SessionUtils.getEncryptedStorageKey: StorageKey is null
      	at com.sun.identity.session.util.SessionUtils.getEncryptedStorageKey(SessionUtils.java:184)
      	at org.forgerock.openam.cts.utils.KeyConversion.encryptKey(KeyConversion.java:73)
      	... 135 more
      

      The issue appears to be the refactored session service trying (and failing) to recover the stateless session from the CTS. We should instead recognise the stateless session early and bail out returning null, so that AuthUtils#logout can continue without any InternalSession (which is only used for looking up PAPs to run).

        Attachments

          Activity

            People

            • Assignee:
              tom.rumsey Emma Rumsey [X] (Inactive)
              Reporter:
              neil.madden Neil Madden
              QA Assignee:
              Filip Kubáň [X] (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: