[jboss-jira] [JBoss JIRA] Closed: (JBAS-5622) getCallerPrincipal is not mapping the domain caller mapping

Anil Saldhana (JIRA) jira-events at lists.jboss.org
Thu Jun 12 01:33:15 EDT 2008


     [ http://jira.jboss.com/jira/browse/JBAS-5622?page=all ]

Anil Saldhana closed JBAS-5622.
-------------------------------

    Resolution: Done

> getCallerPrincipal is not mapping the domain caller mapping
> -----------------------------------------------------------
>
>                 Key: JBAS-5622
>                 URL: http://jira.jboss.com/jira/browse/JBAS-5622
>             Project: JBoss Application Server
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: EJB2, Security
>    Affects Versions: JBossAS-5.0.0.Beta4
>            Reporter: Anil Saldhana
>         Assigned To: Anil Saldhana
>             Fix For: JBossAS-5.0.0.CR1
>
>
> The following two lines are missing:
>  
>             /* Apply any domain caller mapping. This should really only be
>             done for non-run-as callers.
>             */
>             if (rm != null)
>                caller = rm.getPrincipal(caller);
>              
> This is right after we make an attempt to get the caller principal.  If we get a caller principal to be null, the 
> realm mapping may convert the null principal into an unauthenticatedIdentity defined at the security domain level via 
> the JAAS login module option.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list