public class RoleAssignment extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
RoleAssignment.Internal
The role maping as used in the management model.
|
static class |
RoleAssignment.Key |
static class |
RoleAssignment.PrincipalRealmTupel |
| Constructor and Description |
|---|
RoleAssignment(Principal principal) |
| Modifier and Type | Method and Description |
|---|---|
void |
addExclude(Role exclude) |
void |
addExcludes(Collection<Role> excludes) |
void |
addRole(Role role) |
void |
addRoles(Collection<Role> roles) |
boolean |
equals(Object o) |
Set<Role> |
getExcludes() |
String |
getId() |
Principal |
getPrincipal() |
String |
getRealm() |
Set<Role> |
getRoles() |
int |
hashCode() |
void |
setRealm(String realm) |
String |
toString() |
public RoleAssignment(Principal principal)
public String getId()
public Principal getPrincipal()
public String getRealm()
public void setRealm(String realm)
public void addRole(Role role)
public void addRoles(Collection<Role> roles)
public void addExclude(Role exclude)
public void addExcludes(Collection<Role> excludes)
Copyright © 2014 JBoss, a division of Red Hat. All rights reserved.