|
|||||||||
| 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 |
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 |
java.util.List<Role> |
getRoles()
Get the roles contained |
| Methods inherited from interface org.jboss.security.identity.Role |
|---|
containsAll, getRoleName, getType |
| Method Detail |
|---|
java.util.List<Role> getRoles()
void addRole(Role aRole)
aRole - boolean containsRole(Role aRole)
aRole - simple role
java.lang.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 | ||||||||