| Package | Description |
|---|---|
| org.jboss.security.identity | |
| org.jboss.security.identity.extensions |
| Modifier and Type | Interface and Description |
|---|---|
interface |
RoleGroup
Represents a group of roles
|
| Modifier and Type | Method and Description |
|---|---|
static Role |
RoleFactory.createRole(String name) |
Role |
Role.getParent()
Gets a reference to the parent role, if one is available.
|
Role |
Identity.getRole()
Get the Role (Role or RoleGroup)
|
| Modifier and Type | Method and Description |
|---|---|
List<Role> |
RoleGroup.getRoles()
Get the roles contained
|
| Modifier and Type | Method and Description |
|---|---|
void |
RoleGroup.addRole(Role aRole)
Add a role
|
boolean |
Role.containsAll(Role anotherRole)
Indicate whether the argument role is equal or contained
depending on the role-type
|
boolean |
RoleGroup.containsRole(Role aRole)
Validates whether a simple role is available
|
void |
RoleGroup.removeRole(Role aRole)
Remove a role
|
| Modifier and Type | Method and Description |
|---|---|
void |
RoleGroup.addAll(List<Role> roles)
Adds all specified roles to the
RoleGroup instance. |
| Modifier and Type | Method and Description |
|---|---|
static CredentialIdentity<Object> |
CredentialIdentityFactory.createIdentity(Principal principal,
Object cred,
Role roles) |
CertificateIdentity |
CertificateIdentityFactory.createIdentity(Principal principal,
X509Certificate[] certs,
Role roles) |
Copyright © 2013 JBoss Inc.. All Rights Reserved.