Module io.helidon.security
Package io.helidon.security
Interface SecurityClient<T extends SecurityResponse>
- Type Parameters:
- T- type of the response of the security client, such as- AuthenticationResponse
public interface SecurityClient<T extends SecurityResponse>
Common methods for security clients.
- 
Method Summary
- 
Method Details- 
submitT submit()Submit the configured fields in the security request and process the security operation (Authentication, Authorization or OutboundSecurity).- Returns:
- response with information about what happened. Check
 SecurityResponse.status()to obtainSecurityResponse.SecurityStatusand easily check ifSecurityResponse.SecurityStatus.isSuccess()Otherwise security request failed or could not be processed.
 
- 
getSynchronous complement tosubmit(). Timeout is now hardcoded to 1 minute.- Returns:
- response of the current security operation
- Throws:
- SecurityException- in case of timeout, interrupted call or exception during future processing
 
 
-