AbacSupportpublic 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 java.lang.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(java.lang.String name) |
Create a role based on a name without any attributes.
|
getAttributegetAttributeNames, getAttributeRaw, getName, getOrigin, getType, toStringpublic static final java.lang.String ROLE_TYPE
Grant.getType().public static Role create(java.lang.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.