Author: shane.bryzak(a)jboss.com
Date: 2008-05-28 20:29:47 -0400 (Wed, 28 May 2008)
New Revision: 8296
Modified:
trunk/src/main/org/jboss/seam/security/management/IdentityManager.java
Log:
minor javadoc
Modified: trunk/src/main/org/jboss/seam/security/management/IdentityManager.java
===================================================================
--- trunk/src/main/org/jboss/seam/security/management/IdentityManager.java 2008-05-28
17:32:53 UTC (rev 8295)
+++ trunk/src/main/org/jboss/seam/security/management/IdentityManager.java 2008-05-29
00:29:47 UTC (rev 8296)
@@ -223,11 +223,23 @@
// TODO fix
}
+ /**
+ * Returns a list of the roles that are explicitly granted to the specified user;
+ *
+ * @param name The user for which to return a list of roles
+ * @return List containing the names of the granted roles
+ */
public List<String> getGrantedRoles(String name)
{
return roleIdentityStore.getGrantedRoles(name);
}
+ /**
+ * Returns a list of roles that are either explicitly or indirectly granted to the
specified user.
+ *
+ * @param name The user for which to return the list of roles
+ * @return List containing the names of the implied roles
+ */
public List<String> getImpliedRoles(String name)
{
return roleIdentityStore.getImpliedRoles(name);
Show replies by date