public 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 java.lang.String |
ROLE_TYPE
Type of grant used in
Grant.getType(). |
| 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(java.lang.String name)
Create a role based on a name without any attributes.
|
getAttributeNames, getAttributeRaw, getName, getOrigin, getType, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetAttributepublic 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.