SecurityProviderAbacProvider, GoogleTokenProvider, HeaderAtnProvider, HttpBasicAuthProvider, HttpDigestAuthProvider, JwtProvider, OidcProviderpublic abstract class SynchronousProvider extends java.lang.Object implements SecurityProvider
| Constructor | Description |
|---|---|
SynchronousProvider() |
| Modifier and Type | Method | Description |
|---|---|---|
java.util.concurrent.CompletionStage<AuthenticationResponse> |
authenticate(ProviderRequest providerRequest) |
Authenticate a request.
|
java.util.concurrent.CompletionStage<AuthorizationResponse> |
authorize(ProviderRequest providerRequest) |
Authorize a request based on configuration.
|
java.util.concurrent.CompletionStage<OutboundSecurityResponse> |
outboundSecurity(ProviderRequest providerRequest,
SecurityEnvironment outboundEnv,
EndpointConfig outboundConfig) |
Creates necessary updates to headers and entity needed for outbound
security (e.g.
|
protected AuthenticationResponse |
syncAuthenticate(ProviderRequest providerRequest) |
Synchronous authentication.
|
protected AuthorizationResponse |
syncAuthorize(ProviderRequest providerRequest) |
Synchronous authorization.
|
protected OutboundSecurityResponse |
syncOutbound(ProviderRequest providerRequest,
SecurityEnvironment outboundEnv,
EndpointConfig outboundEndpointConfig) |
Synchronous outbound security.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitsupportedAnnotations, supportedAttributes, supportedConfigKeys, supportedCustomObjectspublic final java.util.concurrent.CompletionStage<AuthenticationResponse> authenticate(ProviderRequest providerRequest)
providerRequest - context of this security enforcement/validationAuthenticationResponse.success(io.helidon.security.Subject)public final java.util.concurrent.CompletionStage<AuthorizationResponse> authorize(ProviderRequest providerRequest)
providerRequest - context of this security enforcement/validationAuthorizationResponse.permit()public final java.util.concurrent.CompletionStage<OutboundSecurityResponse> outboundSecurity(ProviderRequest providerRequest, SecurityEnvironment outboundEnv, EndpointConfig outboundConfig)
providerRequest - context with environment, subject(s) etc. that was receivedoutboundEnv - environment for outbound calloutboundConfig - outbound endpoint configurationOutboundSecurityResponse.builder()protected AuthenticationResponse syncAuthenticate(ProviderRequest providerRequest)
providerRequest - context with environment, subject(s) etc.AuthenticationProvider.authenticate(ProviderRequest)protected AuthorizationResponse syncAuthorize(ProviderRequest providerRequest)
providerRequest - context with environment, subject(s) etc.AuthorizationProvider.authorize(ProviderRequest)protected OutboundSecurityResponse syncOutbound(ProviderRequest providerRequest, SecurityEnvironment outboundEnv, EndpointConfig outboundEndpointConfig)
providerRequest - context with environment, subject(s) etc.outboundEnv - environment of this outbound calloutboundEndpointConfig - endpoint config for outbound callOutboundSecurityProvider.outboundSecurity(ProviderRequest, SecurityEnvironment, EndpointConfig),
OutboundSecurityProvider.isOutboundSupported(ProviderRequest, SecurityEnvironment, EndpointConfig)Copyright © 2018, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.