org.dlese.dpc.schemedit.security.access
Class Roles
java.lang.Object
org.dlese.dpc.schemedit.security.access.Roles
public class Roles
- extends Object
Assigns an integer "value" to a role to support "inheritance" of role-based permissions
Constructor Summary |
Roles()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NO_ROLE
public static final Roles.Role NO_ROLE
CATALOGER_ROLE
public static final Roles.Role CATALOGER_ROLE
MANAGER_ROLE
public static final Roles.Role MANAGER_ROLE
ADMIN_ROLE
public static final Roles.Role ADMIN_ROLE
roles
public static EnumSet roles
Roles
public Roles()
toRole
public static Roles.Role toRole(String str)
toString
public static String toString(Roles.Role r)
getInstance
public static Roles getInstance()
main
public static void main(String[] args)
getSatisfyingRoles
public static EnumSet getSatisfyingRoles(Roles.Role maxRole)