[jboss-cvs] jboss-seam/src/main/org/jboss/seam/security ...

Shane Bryzak sbryzak at redhat.com
Sat Feb 24 21:41:50 EST 2007


  User: sbryzak2
  Date: 07/02/24 21:41:49

  Modified:    src/main/org/jboss/seam/security  RuleBasedIdentity.java
  Log:
  ignore case for "roles"
  
  Revision  Changes    Path
  1.6       +1 -1      jboss-seam/src/main/org/jboss/seam/security/RuleBasedIdentity.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: RuleBasedIdentity.java
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-seam/src/main/org/jboss/seam/security/RuleBasedIdentity.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -b -r1.5 -r1.6
  --- RuleBasedIdentity.java	22 Feb 2007 06:44:43 -0000	1.5
  +++ RuleBasedIdentity.java	25 Feb 2007 02:41:49 -0000	1.6
  @@ -76,7 +76,7 @@
            // Populate the working memory with the user's principals
            for ( Principal p : getSubject().getPrincipals() )
            {         
  -            if ( (p instanceof Group) && "roles".equals( ( (Group) p ).getName() ) )
  +            if ( (p instanceof Group) && "roles".equalsIgnoreCase( ( (Group) p ).getName() ) )
               {
                  Enumeration e = ( (Group) p ).members();
                  while ( e.hasMoreElements() )
  
  
  



More information about the jboss-cvs-commits mailing list