@JsType public class Role extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
Role.Type |
| Modifier and Type | Field and Description |
|---|---|
static Role |
ADMINISTRATOR
Has all permissions except cannot read or write resources related to the administrative audit logging system.
|
static Role |
AUDITOR
Can read anything.
|
static Role |
DEPLOYER
Like a Maintainer, but with permission to modify persistent configuration constrained to resources that are
considered to be "application resources".
|
static Role |
MAINTAINER
Operator permissions, plus can modify the persistent configuration.
|
static Role |
MONITOR
A read-only role.
|
static Role |
OPERATOR
Monitor permissions, plus can modify runtime state, but cannot modify anything that ends up in the persistent
configuration.
|
static Role |
SUPER_USER
Has all permissions.
|
| Constructor and Description |
|---|
Role(String name) |
Role(String name,
Role baseRole,
Role.Type type,
Iterable<String> scope) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
Role |
getBaseRole() |
String |
getId() |
String |
getName() |
SortedSet<String> |
getScope() |
Role.Type |
getType() |
int |
hashCode() |
boolean |
isIncludeAll() |
boolean |
isScoped() |
boolean |
isStandard() |
String[] |
jsScope() |
void |
setIncludeAll(boolean includeAll) |
String |
toString() |
public static final Role ADMINISTRATOR
public static final Role AUDITOR
public static final Role DEPLOYER
public static final Role MAINTAINER
public static final Role MONITOR
public static final Role OPERATOR
public static final Role SUPER_USER
@JsIgnore
public Role(@NonNls
String name)
public String toString()
@JsProperty public String getId()
@JsProperty public boolean isStandard()
@JsProperty public boolean isScoped()
@JsProperty public String getName()
@JsProperty public Role getBaseRole()
@JsIgnore public Role.Type getType()
@JsIgnore public boolean isIncludeAll()
@JsIgnore public void setIncludeAll(boolean includeAll)
@JsProperty(name="scope") public String[] jsScope()
Copyright © 2018 JBoss, a division of Red Hat. All rights reserved.