|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.teiid.adminapi.AdminRoles
public class AdminRoles
Static class that lists the roles allowable in the MetaMatrix system.
This class can be used to get a list of all allowable administrative role names or the name of one role to assign to a principal.
Nested Class Summary | |
---|---|
static class |
AdminRoles.RoleName
Static class that defines defines the allowed administrative roles for the MetaMatrix system. |
Constructor Summary | |
---|---|
AdminRoles()
|
Method Summary | |
---|---|
static boolean |
containsRole(java.lang.String roleName)
Determine whether an admin role exists by the given roleName . |
static java.util.Set |
getAllRoleNames()
Get the set of static MetaMatrix administrative roles known to the system. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AdminRoles()
Method Detail |
---|
public static java.util.Set getAllRoleNames()
Set
of String
role names.public static boolean containsRole(java.lang.String roleName)
roleName
.
roleName
- the name for which to validate.
true
iff an admin role exists with the given role name.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |