|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface RoleGroup
Represents a group of roles
| Method Summary | |
|---|---|
void |
addRole(Role aRole)
Add a role |
void |
clearRoles()
Clear all the roles |
boolean |
containsAtleastOneRole(RoleGroup anotherRoleGroup)
Validates whether there is at least one matching role in "anotherRoleGroup" |
boolean |
containsRole(Role aRole)
Validates whether a simple role is available |
List<Role> |
getRoles()
Get the roles contained |
void |
removeRole(Role aRole)
Remove a role |
| Methods inherited from interface org.jboss.security.identity.Role |
|---|
containsAll, getParent, getRoleName, getType |
| Method Detail |
|---|
List<Role> getRoles()
void addRole(Role aRole)
aRole - void clearRoles()
void removeRole(Role aRole)
aRole - boolean containsRole(Role aRole)
aRole - simple role
IllegalArgumentException - role is not simpleboolean containsAtleastOneRole(RoleGroup anotherRoleGroup)
anotherRoleGroup - another role group
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||