T - type of the response of the security client, such as AuthenticationResponsepublic interface SecurityClient<T extends SecurityResponse>
| Modifier and Type | Method | Description |
|---|---|---|
default T |
get() |
Synchronous complement to
submit(). |
java.util.concurrent.CompletionStage<T> |
submit() |
Submit the configured fields in the security request and process the security operation (Authentication, Authorization
or OutboundSecurity).
|
java.util.concurrent.CompletionStage<T> submit()
SecurityResponse.getStatus() to obtain SecurityResponse.SecurityStatus and easily check if SecurityResponse.SecurityStatus.isSuccess()
Otherwise security request failed or could not be processed.default T get()
submit().
Timeout is now hardcoded to 1 minute.SecurityException - in case of timeout, interrupted call or exception during future processingCopyright © 2018, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.