public class SecurityEnvironment extends Object implements AbacSupport
AbacSupport.abacAttribute(String) methods for any property configured by integration component.
The following properties are available (known):
| Modifier and Type | Class and Description |
|---|---|
static class |
SecurityEnvironment.Builder
A fluent API builder for
SecurityEnvironment. |
AbacSupport.BasicAttributes| 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 SecurityEnvironment.Builder |
builder()
Creates a fluent API builder to build new instances of this class with current time.
|
static SecurityEnvironment.Builder |
builder(SecurityTime serverTime)
Creates a fluent API builder to build new instances of this class.
|
static SecurityEnvironment |
create()
Create a new instance of security environment with all default values.
|
SecurityEnvironment.Builder |
derive()
Derive a new environment builder based on this environment.
|
Map<String,List<String>> |
headers()
Transport headers that can be used to process the message.
|
String |
method()
Verb to execute on the resource.
|
Optional<String> |
path()
Path to the resource.
|
URI |
targetUri()
Get the URI of the resource requested.
|
ZonedDateTime |
time()
Time on the server this environment was created for current request.
|
String |
transport()
Return type of transport (such as http, https, jms etc.).
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitabacAttributepublic static SecurityEnvironment.Builder builder(SecurityTime serverTime)
serverTime - Time to use to obtain current timepublic static SecurityEnvironment.Builder builder()
public static SecurityEnvironment create()
public Object abacAttributeRaw(String key)
AbacSupportabacAttributeRaw in interface AbacSupportkey - key (name) of the propertypublic Collection<String> abacAttributeNames()
AbacSupportabacAttributeNames in interface AbacSupportpublic ZonedDateTime time()
Security.serverTime()public URI targetUri()
public Optional<String> path()
public String method()
public String transport()
public SecurityEnvironment.Builder derive()
public Map<String,List<String>> headers()
Copyright © 2018, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.