|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object tyrex.security.container.helper.RolesRealm.Role
Definition of a role is a name and members list.
Nested Class Summary | |
(package private) static class |
RolesRealm.Role.MemberEntry
An entry for each member in the hashtable. |
Constructor Summary | |
(package private) |
RolesRealm.Role(java.lang.String roleName,
java.lang.String[] members)
Construct a new role with the given role name and list of members. |
Method Summary | |
(package private) void |
addMembers(java.lang.String[] members)
Add members to the role. |
(package private) java.lang.String |
getRoleName()
Returns the role name. |
(package private) boolean |
isInRole(java.lang.String member)
Returns true if the named member is a member of this role. |
(package private) java.lang.String[] |
listMembers()
Lists all the members in the role. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
RolesRealm.Role(java.lang.String roleName, java.lang.String[] members)
roleName
- The role namemembers
- Array of zero or more membersMethod Detail |
java.lang.String getRoleName()
void addMembers(java.lang.String[] members)
boolean isInRole(java.lang.String member)
member
- Member name
java.lang.String[] listMembers()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |