[jboss-jira] [JBoss JIRA] (AS7-4689) SimpleSecurityManager and JBossCachedAuthenticationManager do not work together correctly when calling remote ejb

Michael Gronau (JIRA) jira-events at lists.jboss.org
Wed May 2 04:19:22 EDT 2012


Michael Gronau created AS7-4689:
-----------------------------------

             Summary: SimpleSecurityManager and JBossCachedAuthenticationManager do not work together correctly when calling remote ejb
                 Key: AS7-4689
                 URL: https://issues.jboss.org/browse/AS7-4689
             Project: Application Server 7
          Issue Type: Bug
          Components: EJB
    Affects Versions: 7.1.2.Final-redhat1
            Reporter: Michael Gronau
            Assignee: jaikiran pai


the method SimpleSecurityManager.push(...) is called for every ejb call and here for every call a new instance of SimplePrincipal is created for the SubjectInfo. Then the method authenticate() is called. Here it delegates to the JBossCachedAuthenticationManager which tries to find an already cached principal, but this cannot work, because the get() function of the cache returns null. It returns null, because of the newly created SimplePrincipal for the current invocation.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list