Package | Description |
---|---|
org.wildfly.security.auth.client |
Elytron Client enable remote clients to authenticate using Elytron.
|
org.wildfly.security.sasl.util |
Modifier and Type | Method and Description |
---|---|
static AuthenticationContext |
AuthenticationContext.captureCurrent()
Get the current thread's captured authentication context.
|
static AuthenticationContext |
AuthenticationContext.empty()
Get a new, empty authentication context.
|
AuthenticationContext |
LegacyConfiguration.getConfiguredAuthenticationContext()
Get the configured authentication context.
|
AuthenticationContext |
AuthenticationContext.replacing(int idx,
MatchRule rule,
AuthenticationConfiguration configuration)
Get a new authentication context which is the same as this one, but which replaces the rule and configuration at the given
index with the given rule and configuration.
|
AuthenticationContext |
AuthenticationContext.replacingSslContext(int idx,
MatchRule rule,
SecurityFactory<SSLContext> sslContext)
Get a new authentication context which is the same as this one, but which replaces the rule and SSL context at the given
index with the given rule and SSL context.
|
AuthenticationContext |
AuthenticationContext.with(AuthenticationContext other)
Get a new authentication context which is the same as this one, but which includes the rules, configurations
and SSL contexts of the given context at the end of its list.
|
AuthenticationContext |
AuthenticationContext.with(int idx,
MatchRule rule,
AuthenticationConfiguration configuration)
Get a new authentication context which is the same as this one, but which includes the given rule and configuration
inserted at the position of its list indicated by the
idx parameter. |
AuthenticationContext |
AuthenticationContext.with(MatchRule rule,
AuthenticationConfiguration configuration)
Get a new authentication context which is the same as this one, but which includes the given rule and configuration at
the end of its list.
|
AuthenticationContext |
AuthenticationContext.without(int idx)
Get a new authentication context which is the same as this one, but without the rule and configuration at the index
indicated by the
idx parameter. |
AuthenticationContext |
AuthenticationContext.withoutSsl(int idx)
Get a new authentication context which is the same as this one, but without the rule and configuration at the index
indicated by the
idx parameter. |
AuthenticationContext |
AuthenticationContext.withSsl(int idx,
MatchRule rule,
SecurityFactory<SSLContext> sslContext)
Get a new authentication context which is the same as this one, but which includes the given rule and SSL context
inserted at the position of its list indicated by the
idx parameter. |
AuthenticationContext |
AuthenticationContext.withSsl(MatchRule rule,
SecurityFactory<SSLContext> sslContext)
Get a new authentication context which is the same as this one, but which includes the given rule and SSL context at
the end of its SSL context list.
|
Modifier and Type | Method and Description |
---|---|
static org.wildfly.common.context.ContextManager<AuthenticationContext> |
AuthenticationContext.getContextManager()
Get the context manager for authentication contexts.
|
org.wildfly.common.context.ContextManager<AuthenticationContext> |
AuthenticationContext.getInstanceContextManager() |
static SecurityFactory<AuthenticationContext> |
ElytronXmlParser.parseAuthenticationClientConfiguration()
Parse an Elytron authentication client configuration from a configuration discovered using the default wildfly-client-config discovery rules.
|
static SecurityFactory<AuthenticationContext> |
ElytronXmlParser.parseAuthenticationClientConfiguration(URI uri)
Parse an Elytron authentication client configuration from a resource located at a specified
URI . |
Modifier and Type | Method and Description |
---|---|
AuthenticationConfiguration |
AuthenticationContextConfigurationClient.getAuthenticationConfiguration(URI uri,
AuthenticationContext authenticationContext)
Get the authentication configuration which matches the given URI, or
AuthenticationConfiguration.EMPTY if there is none. |
AuthenticationConfiguration |
AuthenticationContextConfigurationClient.getAuthenticationConfiguration(URI uri,
AuthenticationContext authenticationContext,
int protocolDefaultPort)
Get the authentication configuration which matches the given URI, or
AuthenticationConfiguration.EMPTY if there is none, setting
a default protocol port. |
AuthenticationConfiguration |
AuthenticationContextConfigurationClient.getAuthenticationConfiguration(URI uri,
AuthenticationContext authenticationContext,
int protocolDefaultPort,
String abstractType,
String abstractTypeAuthority)
Get the authentication configuration which matches the given URI and type, or
AuthenticationConfiguration.EMPTY if there is none, setting
a default protocol port. |
AuthenticationConfiguration |
AuthenticationContextConfigurationClient.getAuthenticationConfigurationNoOverrides(URI uri,
AuthenticationContext authenticationContext,
String abstractType,
String abstractTypeAuthority)
Get the authentication configuration which matches the given URI and type, or
AuthenticationConfiguration.EMPTY if there is none. |
SSLContext |
AuthenticationContextConfigurationClient.getSSLContext(URI uri,
AuthenticationContext authenticationContext)
Get the SSL context which matches the given URI, or
SSLContext.getDefault() if there is none. |
SSLContext |
AuthenticationContextConfigurationClient.getSSLContext(URI uri,
AuthenticationContext authenticationContext,
String abstractType,
String abstractTypeAuthority)
Get the SSL context which matches the given URI and type, or
SSLContext.getDefault() if there is none. |
SecurityFactory<SSLContext> |
AuthenticationContextConfigurationClient.getSSLContextFactory(URI uri,
AuthenticationContext authenticationContext,
String abstractType,
String abstractTypeAuthority)
Get the SSL context factory which matches the given URI and type, or
SSLContext.getDefault() if there is none. |
AuthenticationContext |
AuthenticationContext.with(AuthenticationContext other)
Get a new authentication context which is the same as this one, but which includes the rules, configurations
and SSL contexts of the given context at the end of its list.
|
Constructor and Description |
---|
AuthenticationContextSaslClient(SaslClient delegate,
AuthenticationContext context)
Construct a new instance.
|
AuthenticationContextSaslClientFactory(SaslClientFactory delegate,
AuthenticationContext context)
Construct a new instance.
|
AuthenticationContextSaslServer(SaslServer delegate,
AuthenticationContext context)
Construct a new instance.
|
AuthenticationContextSaslServerFactory(SaslServerFactory delegate,
AuthenticationContext context)
Construct a new instance.
|
Copyright © 2020 JBoss by Red Hat. All rights reserved.