public class Role extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
Role.Key |
static class |
Role.Type |
| Constructor and Description |
|---|
Role(StandardRole role) |
Role(String id,
String name,
StandardRole baseRole,
Role.Type type,
Collection<String> scope) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
StandardRole |
getBaseRole() |
String |
getId() |
String |
getName() |
SortedSet<String> |
getScope() |
Role.Type |
getType() |
int |
hashCode() |
boolean |
isIncludeAll() |
boolean |
isScoped() |
boolean |
isStandard() |
void |
setBaseRole(StandardRole baseRole) |
void |
setIncludeAll(boolean includeAll) |
void |
setName(String name) |
void |
setScope(Collection<String> scope) |
void |
setType(Role.Type type) |
String |
toString() |
public Role(StandardRole role)
public Role(String id, String name, StandardRole baseRole, Role.Type type, Collection<String> scope)
public boolean isStandard()
public boolean isScoped()
public String getId()
public String getName()
public void setName(String name)
public StandardRole getBaseRole()
public void setBaseRole(StandardRole baseRole)
public Role.Type getType()
public void setType(Role.Type type)
public void setScope(Collection<String> scope)
public boolean isIncludeAll()
public void setIncludeAll(boolean includeAll)
Copyright © 2014 JBoss, a division of Red Hat. All rights reserved.