AbacSupportpublic class SecurityEnvironment extends java.lang.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.
|
java.util.Collection<java.lang.String> |
getAttributeNames() |
A collection of all property names in this container.
|
java.lang.Object |
getAttributeRaw(java.lang.String key) |
Return the actual property value or null if not present.
|
java.util.Map<java.lang.String,java.util.List<java.lang.String>> |
getHeaders() |
Transport headers that can be used to process the message.
|
java.lang.String |
getMethod() |
Verb to execute on the resource.
|
java.util.Optional<java.lang.String> |
getPath() |
Path to the resource.
|
java.net.URI |
getTargetUri() |
Get the URI of the resource requested.
|
java.time.ZonedDateTime |
getTime() |
Time on the server this environment was created for current request.
|
java.lang.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 java.lang.Object getAttributeRaw(java.lang.String key)
AbacSupportgetAttributeRaw in interface AbacSupportkey - key (name) of the propertypublic java.util.Collection<java.lang.String> getAttributeNames()
AbacSupportgetAttributeNames in interface AbacSupportpublic java.time.ZonedDateTime getTime()
Security.Builder.serverTimepublic java.net.URI getTargetUri()
public java.util.Optional<java.lang.String> getPath()
public java.lang.String getMethod()
public java.lang.String getTransport()
public SecurityEnvironment.Builder derive()
public java.util.Map<java.lang.String,java.util.List<java.lang.String>> getHeaders()
Copyright © 2018, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.