public class HeaderAtnProvider extends SynchronousProvider implements AuthenticationProvider, OutboundSecurityProvider
| Modifier and Type | Class and Description |
|---|---|
static class |
HeaderAtnProvider.Builder
A fluent api Builder for
HeaderAtnProvider. |
| Modifier and Type | Method and Description |
|---|---|
static HeaderAtnProvider.Builder |
builder()
A builder for this provider.
|
static HeaderAtnProvider |
fromConfig(Config config)
Create provider instance from configuration.
|
boolean |
isOutboundSupported(ProviderRequest providerRequest,
SecurityEnvironment outboundEnv,
EndpointConfig outboundConfig)
Check if the path to be executed is supported by this security provider.
|
protected AuthenticationResponse |
syncAuthenticate(ProviderRequest providerRequest)
Synchronous authentication.
|
protected OutboundSecurityResponse |
syncOutbound(ProviderRequest providerRequest,
SecurityEnvironment outboundEnv,
EndpointConfig outboundEndpointConfig)
Synchronous outbound security.
|
authenticate, authorize, outboundSecurity, syncAuthorizeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitauthenticateoutboundSecuritysupportedAnnotations, supportedAttributes, supportedConfigKeys, supportedCustomObjectspublic static HeaderAtnProvider fromConfig(Config config)
config - configuration of this providerpublic static HeaderAtnProvider.Builder builder()
protected AuthenticationResponse syncAuthenticate(ProviderRequest providerRequest)
SynchronousProvidersyncAuthenticate in class SynchronousProviderproviderRequest - context with environment, subject(s) etc.AuthenticationProvider.authenticate(ProviderRequest)public boolean isOutboundSupported(ProviderRequest providerRequest, SecurityEnvironment outboundEnv, EndpointConfig outboundConfig)
OutboundSecurityProviderisOutboundSupported in interface OutboundSecurityProviderproviderRequest - context with environment, subject(s) etc. that was receivedoutboundEnv - environment for outbound calloutboundConfig - outbound endpoint configurationprotected OutboundSecurityResponse syncOutbound(ProviderRequest providerRequest, SecurityEnvironment outboundEnv, EndpointConfig outboundEndpointConfig)
SynchronousProvidersyncOutbound in class SynchronousProviderproviderRequest - 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.