public class Grant extends Object implements AbacSupport, Principal
| Modifier and Type | Class and Description |
|---|---|
static class |
Grant.Builder<T extends Grant.Builder<T>>
|
AbacSupport.BasicAttributes| Modifier | Constructor and Description |
|---|---|
protected |
Grant(Grant.Builder<?> builder)
Create an instance based on a builder.
|
| Modifier and Type | Method and Description |
|---|---|
Collection<String> |
abacAttributeNames()
A collection of all property names in this container.
|
Object |
abacAttributeRaw(String key)
Return the actual property value or null if not present.
|
static Grant.Builder<?> |
builder()
Creates a fluent API builder to build new instances of this class.
|
String |
getName() |
String |
origin()
Origin of this grant - this may be an arbitrary string, URI, component creating it etc.
|
String |
toString() |
String |
type()
Type of this grant.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitabacAttributeprotected Grant(Grant.Builder<?> builder)
builder - builder instancepublic static Grant.Builder<?> builder()
public Object abacAttributeRaw(String key)
AbacSupportabacAttributeRaw in interface AbacSupportkey - key (name) of the propertypublic Collection<String> abacAttributeNames()
AbacSupportabacAttributeNames in interface AbacSupportpublic String type()
Rolepublic String toString()
public String origin()
Copyright © 2018–2019 Oracle and/or its affiliates. All rights reserved. Use is subject to license terms.