AbacSupport, Principalpublic class Role extends Grant
| Modifier and Type | Class | Description |
|---|---|---|
static class |
Role.Builder |
A fluent API builder for
Role. |
AbacSupport.BasicAttributes| Modifier and Type | Field | Description |
|---|---|---|
static String |
ROLE_TYPE |
Type of grant used in
Grant.getType(). |
| Modifier and Type | Method | Description |
|---|---|---|
static Role.Builder |
builder() |
Creates a fluent API builder to build new instances of this class.
|
static Role |
create(String name) |
Create a role based on a name without any attributes.
|
getAttributegetAttributeNames, getAttributeRaw, getName, getType, toStringpublic static final String ROLE_TYPE
Grant.getType().public static Role create(String name)
name - name of rolepublic static Role.Builder builder()
Copyright © 2018, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.