AbacSupportpublic class SecurityEnvironment extends Object implements AbacSupport
AbacSupport.getAttribute(String) methods for any property configured by integration component.
The following properties are available (known):
| Modifier and Type | Class | Description |
|---|---|---|
static class |
SecurityEnvironment.Builder |
A fluent API builder for
SecurityEnvironment. |
AbacSupport.BasicAttributes| Modifier and Type | Method | Description |
|---|---|---|
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.
|
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.
|
Map<String,List<String>> |
getHeaders() |
Transport headers that can be used to process the message.
|
String |
getMethod() |
Verb to execute on the resource.
|
Optional<String> |
getPath() |
Path to the resource.
|
URI |
getTargetUri() |
Get the URI of the resource requested.
|
ZonedDateTime |
getTime() |
Time on the server this environment was created for current request.
|
String |
getTransport() |
Return type of transport (such as http, https, jms etc.).
|
getAttributepublic static SecurityEnvironment.Builder builder(SecurityTime serverTime)
serverTime - Time to use to obtain current timepublic static SecurityEnvironment.Builder builder()
public static SecurityEnvironment create()
public Object getAttributeRaw(String key)
AbacSupportgetAttributeRaw in interface AbacSupportkey - key (name) of the propertypublic Collection<String> getAttributeNames()
AbacSupportgetAttributeNames in interface AbacSupportpublic ZonedDateTime getTime()
Security.Builder.serverTimepublic URI getTargetUri()
public Optional<String> getPath()
public String getMethod()
public String getTransport()
public SecurityEnvironment.Builder derive()
public Map<String,List<String>> getHeaders()
Copyright © 2018, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.