|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.security.idm.Role
public class Role
Role represents an authorization group used by an Authorization system to grant appropriate access. A role consists of users that are considered members of that role.
Constructor Summary | |
---|---|
Role()
Initializes a role object |
Method Summary | |
---|---|
java.util.Collection |
getIdentities()
Return a collection of identities which represent all users/members that belong to this role |
java.lang.String |
getName()
Return the role name |
void |
setIdentities(java.util.Collection identities)
Sets a collection of identities which represent all users/members that belong to this role |
void |
setName(java.lang.String name)
Sets the name of the role |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Role()
Method Detail |
---|
public java.lang.String getName()
public void setName(java.lang.String name)
name
- public java.util.Collection getIdentities()
public void setIdentities(java.util.Collection identities)
identities
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |