public final class Role extends Grant
| Modifier and Type | Class and Description |
|---|---|
static class |
Role.Builder
A fluent API builder for
Role. |
AbacSupport.BasicAttributes| Modifier and Type | Field and Description |
|---|---|
static String |
ROLE_TYPE
Type of grant used in
Grant.type(). |
| Modifier and Type | Method and 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.
|
abacAttributeNames, abacAttributeRaw, getName, origin, toString, typeclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitabacAttributepublic static final String ROLE_TYPE
Grant.type().public static Role create(String name)
name - name of rolepublic static Role.Builder builder()
Copyright © 2018–2019 Oracle and/or its affiliates. All rights reserved. Use is subject to license terms.