[seam-commits] Seam SVN: r10222 - trunk/src/main/org/jboss/seam/security/management.

seam-commits at lists.jboss.org seam-commits at lists.jboss.org
Thu Mar 26 19:33:51 EDT 2009


Author: shane.bryzak at jboss.com
Date: 2009-03-26 19:33:51 -0400 (Thu, 26 Mar 2009)
New Revision: 10222

Modified:
   trunk/src/main/org/jboss/seam/security/management/JpaIdentityStore.java
Log:
JBSEAM-4044

Modified: trunk/src/main/org/jboss/seam/security/management/JpaIdentityStore.java
===================================================================
--- trunk/src/main/org/jboss/seam/security/management/JpaIdentityStore.java	2009-03-26 22:06:04 UTC (rev 10221)
+++ trunk/src/main/org/jboss/seam/security/management/JpaIdentityStore.java	2009-03-26 23:33:51 UTC (rev 10222)
@@ -666,7 +666,7 @@
 
       List<String> groups = new ArrayList<String>();
       
-      if (roleGroupsProperty != null)
+      if (roleGroupsProperty.isSet())
       {
          Collection roleGroups = (Collection) roleGroupsProperty.getValue(role);
          if (roleGroups != null)
@@ -914,7 +914,7 @@
    
    private List<String> listRoleMembers(String role)
    {                
-      if (roleGroupsProperty != null)
+      if (roleGroupsProperty.isSet())
       {
          Object roleEntity = lookupRole(role);                  
          




More information about the seam-commits mailing list