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

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

      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)

            [CWD-1199] In-memory token storage will not permit expiration of user session, throws exception

            Monique Khairuliana (Inactive) made changes -
            Workflow Original: Simplified Crowd Development Workflow v2 - restricted [ 1510071 ] New: JAC Bug Workflow v3 [ 3364935 ]
            Status Original: Resolved [ 5 ] New: Closed [ 6 ]
            Owen made changes -
            Workflow Original: Simplified Crowd Development Workflow v2 [ 1392811 ] New: Simplified Crowd Development Workflow v2 - restricted [ 1510071 ]
            Owen made changes -
            Workflow Original: Crowd Development Workflow v2 [ 273246 ] New: Simplified Crowd Development Workflow v2 [ 1392811 ]
            jawong.adm made changes -
            Workflow Original: JIRA Bug Workflow v2 [ 174264 ] New: Crowd Development Workflow v2 [ 273246 ]
            Justin Koke made changes -
            Workflow Original: jira [ 130944 ] New: JIRA Bug Workflow v2 [ 174264 ]
            shihab made changes -
            Fix Version/s New: 1.5.1 [ 14210 ]
            Resolution New: Fixed [ 1 ]
            Status Original: Open [ 1 ] New: Resolved [ 5 ]
            DonnaA created issue -

              doflynn David O'Flynn [Atlassian]
              donna@atlassian.com DonnaA
              Affected customers:
              0 This affects my team
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: