Author: shane.bryzak(a)jboss.com
Date: 2008-10-21 22:43:45 -0400 (Tue, 21 Oct 2008)
New Revision: 9377
Modified:
trunk/src/main/org/jboss/seam/security/management/IdentityManager.java
trunk/src/main/org/jboss/seam/security/management/JpaIdentityStore.java
trunk/src/main/org/jboss/seam/security/management/LdapIdentityStore.java
Log:
add interface method
Modified: trunk/src/main/org/jboss/seam/security/management/IdentityManager.java
===================================================================
--- trunk/src/main/org/jboss/seam/security/management/IdentityManager.java 2008-10-22
02:32:14 UTC (rev 9376)
+++ trunk/src/main/org/jboss/seam/security/management/IdentityManager.java 2008-10-22
02:43:45 UTC (rev 9377)
@@ -9,7 +9,6 @@
import java.util.Comparator;
import java.util.List;
-import org.apache.wicket.util.string.Strings;
import org.jboss.seam.Component;
import org.jboss.seam.annotations.Create;
import org.jboss.seam.annotations.Install;
@@ -20,6 +19,7 @@
import org.jboss.seam.log.LogProvider;
import org.jboss.seam.log.Logging;
import org.jboss.seam.security.Identity;
+import org.jboss.seam.util.Strings;
/**
* Identity Management API, deals with user name/password-based identity management.
Modified: trunk/src/main/org/jboss/seam/security/management/JpaIdentityStore.java
===================================================================
--- trunk/src/main/org/jboss/seam/security/management/JpaIdentityStore.java 2008-10-22
02:32:14 UTC (rev 9376)
+++ trunk/src/main/org/jboss/seam/security/management/JpaIdentityStore.java 2008-10-22
02:43:45 UTC (rev 9377)
@@ -6,6 +6,7 @@
import java.io.Serializable;
import java.lang.reflect.ParameterizedType;
import java.lang.reflect.Type;
+import java.security.Principal;
import java.util.ArrayList;
import java.util.Collection;
import java.util.HashSet;
@@ -840,6 +841,12 @@
"select r." + roleNameProperty.getName() + " from " +
roleClass.getName() + " r").getResultList();
}
+ public List<Principal> listMembers(String role)
+ {
+ // TODO implement
+ return null;
+ }
+
public List<String> listGrantableRoles()
{
StringBuilder roleQuery = new StringBuilder();
Modified: trunk/src/main/org/jboss/seam/security/management/LdapIdentityStore.java
===================================================================
--- trunk/src/main/org/jboss/seam/security/management/LdapIdentityStore.java 2008-10-22
02:32:14 UTC (rev 9376)
+++ trunk/src/main/org/jboss/seam/security/management/LdapIdentityStore.java 2008-10-22
02:43:45 UTC (rev 9377)
@@ -4,6 +4,7 @@
import static org.jboss.seam.annotations.Install.BUILT_IN;
import java.io.Serializable;
+import java.security.Principal;
import java.util.ArrayList;
import java.util.HashSet;
import java.util.List;
@@ -1206,6 +1207,12 @@
// TODO Auto-generated method stub
return null;
}
+
+ public List<Principal> listMembers(String role)
+ {
+ // TODO implement
+ return null;
+ }
public boolean addRoleToGroup(String role, String group)
{
Show replies by date