tomee-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Blevins (JIRA)" <j...@apache.org>
Subject [jira] Created: (OPENEJB-1015) javax.ejb.EJBContext.getCallerPrincipal() not predictable
Date Mon, 06 Apr 2009 23:30:12 GMT
javax.ejb.EJBContext.getCallerPrincipal() not predictable
---------------------------------------------------------

                 Key: OPENEJB-1015
                 URL: https://issues.apache.org/jira/browse/OPENEJB-1015
             Project: OpenEJB
          Issue Type: Bug
          Components: security
    Affects Versions: 3.1, 3.0, 3.0-beta-2, 3.0-beta-1
            Reporter: David Blevins
            Assignee: David Blevins
             Fix For: 3.1.1


The result of getCallerPrincipal can be random depending on list order.  Code has been reworked
so that JAAS Implementations may annotate the principal implementations with @CallerPrincipal
to tell the org.apache.openejb.spi.SecurityService which principal to return from getCallerPrincipal.

Annotation used instead of an interface so that JAAS LoginModules can avoid a mandatory runtime
dependency on any OpenEJB libraries.



-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message