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 in the
RoleGroup . |
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
|
static Identity |
IdentityFactory.getIdentity(Principal principal,
X509Certificate[] certs,
Role roles) |
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 role group.
|
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 © 2015 JBoss Inc.. All Rights Reserved.