Class AccessCheck.SecurityResult
- java.lang.Object
-
- com.identityworksllc.iiq.common.access.AccessCheck.SecurityResult
-
- All Implemented Interfaces:
Supplier<Optional<AccessCheckResponse>>
- Enclosing class:
- AccessCheck
public static final class AccessCheck.SecurityResult extends Object implements Supplier<Optional<AccessCheckResponse>>
The container object to hold the cached ThingAccessUtil results
-
-
Constructor Summary
Constructors Constructor Description SecurityResult(AccessCheckResponse result)
Store the result with an expiration time
-
-
-
Constructor Detail
-
SecurityResult
public SecurityResult(AccessCheckResponse result)
Store the result with an expiration time- Parameters:
result
- The result to cache
-
-
Method Detail
-
get
public Optional<AccessCheckResponse> get()
Returns the cached result- Specified by:
get
in interfaceSupplier<Optional<AccessCheckResponse>>
- Returns:
- The cached result
-
-