[jboss-jira] [JBoss JIRA] Commented: (JBAS-6706) Modify SimplePrincipal.equals

Marcus Moyses (JIRA) jira-events at lists.jboss.org
Tue Mar 31 09:35:23 EDT 2009


    [ https://jira.jboss.org/jira/browse/JBAS-6706?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12459839#action_12459839 ] 

Marcus Moyses commented on JBAS-6706:
-------------------------------------

User must set the system property org.jboss.security.simpleprincipal.equals.override=true if they want equals method to compare only SimplePrincipals. Otherwise the current behavior remains unchanged.

> Modify SimplePrincipal.equals
> -----------------------------
>
>                 Key: JBAS-6706
>                 URL: https://jira.jboss.org/jira/browse/JBAS-6706
>             Project: JBoss Application Server
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>    Affects Versions: JBossAS-4.0.5.GA, JBossAS-4.2.2.GA
>            Reporter: Marcus Moyses
>            Assignee: Marcus Moyses
>             Fix For: JBossAS-4.2.3.GA
>
>
> SimplePrincipal.equals(Object) must be changed to only accept instances of SimplePrincipal.

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

        



More information about the jboss-jira mailing list