@FunctionalInterface public interface AuthenticationProvider extends SecurityProvider
SecurityContext.| Modifier and Type | Method and Description |
|---|---|
CompletionStage<AuthenticationResponse> |
authenticate(ProviderRequest providerRequest)
Authenticate a request.
|
supportedAnnotations, supportedAttributes, supportedConfigKeys, supportedCustomObjectsCompletionStage<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–2019 Oracle and/or its affiliates. All rights reserved. Use is subject to license terms.