SecurityProviderGoogleTokenProvider, HeaderAtnProvider, HttpBasicAuthProvider, HttpDigestAuthProvider, HttpSignProvider, JwtProvider, OidcProvider@FunctionalInterface public interface AuthenticationProvider extends SecurityProvider
SecurityContext.| Modifier and Type | Method | Description |
|---|---|---|
java.util.concurrent.CompletionStage<AuthenticationResponse> |
authenticate(ProviderRequest providerRequest) |
Authenticate a request.
|
supportedAnnotations, supportedAttributes, supportedConfigKeys, supportedCustomObjectsjava.util.concurrent.CompletionStage<AuthenticationResponse> authenticate(ProviderRequest providerRequest)
This method must provide either a Principal or a whole
Subject either for a user or for service (or both).
providerRequest - context of this security enforcement/validationAuthenticationResponse.success(Subject)Copyright © 2018, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.