AbacSupport, Principalpublic class Principal extends Object implements AbacSupport, Principal
Principal| Modifier and Type | Class | Description |
|---|---|---|
static class |
Principal.Builder |
A fluent API builder for
Principal. |
AbacSupport.BasicAttributes| Modifier and Type | Method | Description |
|---|---|---|
static Principal.Builder |
builder() |
Creates a fluent API builder to build new instances of this class.
|
static Principal |
create(String id) |
Create a principal instance for an id (or name).
|
Collection<String> |
getAttributeNames() |
A collection of all property names in this container.
|
Object |
getAttributeRaw(String key) |
Return the actual property value or null if not present.
|
String |
getId() |
Id of this principal.
|
String |
getName() |
|
String |
toString() |
getAttributepublic static Principal.Builder builder()
public static Principal create(String id)
id - identification used both for name and id attributes of this principalpublic Object getAttributeRaw(String key)
AbacSupportgetAttributeRaw in interface AbacSupportkey - key (name) of the propertypublic Collection<String> getAttributeNames()
AbacSupportgetAttributeNames in interface AbacSupportpublic String getId()
Copyright © 2018, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.