| Package | Description |
|---|---|
| org.jboss.hal.config |
| Modifier and Type | Field and Description |
|---|---|
static Role |
Role.ADMINISTRATOR
Has all permissions except cannot read or write resources related to the administrative audit logging system.
|
static Role |
Role.AUDITOR
Can read anything.
|
static Role |
Role.DEPLOYER
Like a Maintainer, but with permission to modify persistent configuration constrained to resources that are
considered to be "application resources".
|
static Role |
Role.MAINTAINER
Operator permissions, plus can modify the persistent configuration.
|
static Role |
Role.MONITOR
A read-only role.
|
static Role |
Role.OPERATOR
Monitor permissions, plus can modify runtime state, but cannot modify anything that ends up in the persistent
configuration.
|
static Role |
Role.SUPER_USER
Has all permissions.
|
| Modifier and Type | Field and Description |
|---|---|
static Comparator<Role> |
Roles.BY_NAME |
static Comparator<Role> |
Roles.STANDARD_FIRST |
| Modifier and Type | Method and Description |
|---|---|
Role |
Roles.get(String id) |
Role |
Role.getBaseRole() |
Role[] |
Roles.jsAll() |
Role[] |
User.jsRoles() |
Role[] |
Roles.jsScopedRoles() |
Role[] |
Roles.jsStandardRoles() |
| Modifier and Type | Method and Description |
|---|---|
Set<Role> |
User.getRoles() |
Iterator<Role> |
Roles.iterator() |
Set<Role> |
Roles.scopedRoles() |
Set<Role> |
Roles.standardRoles() |
| Modifier and Type | Method and Description |
|---|---|
void |
Roles.add(Role role) |
void |
User.addRole(Role role) |
| Modifier and Type | Method and Description |
|---|---|
void |
Roles.addAll(Iterable<Role> roles) |
void |
User.refreshRoles(Set<Role> roles) |
| Constructor and Description |
|---|
Role(String name,
Role baseRole,
Role.Type type,
Iterable<String> scope) |
Copyright © 2018 JBoss, a division of Red Hat. All rights reserved.