Uploaded image for project: 'Crowd Data Center'
  1. Crowd Data Center
  2. CWD-1199

In-memory token storage will not permit expiration of user session, throws exception

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Medium
    • 1.5.1
    • 1.4.5
    • None

    Description

      Every expire action URL uses a sessionID of 0:

      http://localhost:8095/crowd/console/secure/session/removeusersession!removePrincipalSession.action?ID=0

      And the following exception is thrown when attempting to expire the user session:

      2008-08-08 11:24:47,303 http-8095-4 ERROR [console.action.session.RemoveSession] Currently we cannot load Token's by IDjava.lang.UnsupportedOperationException: Currently we cannot load Token's by ID
      at com.atlassian.crowd.model.token.TokenDAOMemory.findByID(TokenDAOMemory.java:182)
      at com.atlassian.crowd.model.token.TokenDAOProxy.findByID(TokenDAOProxy.java:135)
      at com.atlassian.crowd.manager.directory.DirectoryManagerGeneric.expireToken(DirectoryManagerGeneric.java:868)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:585)
      at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310)
      at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
      at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
      at com.atlassian.spring.interceptors.SpringProfilingInterceptor.invoke(SpringProfilingInterceptor.java:20)
      at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
      at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106)
      at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
      at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
      at $Proxy1.expireToken(Unknown Source)

      Attachments

        Activity

          People

            doflynn David O'Flynn [Atlassian]
            donna@atlassian.com DonnaA
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: