Hi Scott,

I have the feeling there is a little bug.

We have 2 files:
contrib.security.src.main.org.jboss.ejb.plugins.SecurityInterceptor.java
and 
jboss.src.main.org.jboss.ejb.plugins.SecurityInterceptor.java

in the both files there is function
    private void checkSecurityAssociation(MethodInvocation mi, boolean home)

where i can find for contributed version:
       if( methodRoles != null && realmMapping.doesUserHaveRole(principal, 
methodRoles) == false )

and for JBoss version:
       if( methodRoles == null || realmMapping.doesUserHaveRole(principal, 
methodRoles) == false )


In my case i dont use any roles but i get inside this check inspite of 
methodRoles==null. 
I would prefare the contributed version of this IF

Its very strange when it is the CVS where is 2 files with this little difference.

Have a good day

D&D

Darius Davidavicius
Living-Source
http://www.living-source.com/team_employee.php3?e_id=9&e_nextid=2
ICQ: 18325334



_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to