Uses of Class
org.wildfly.security.auth.client.AuthenticationContext
-
Packages that use AuthenticationContext Package Description org.wildfly.security.auth.client Elytron Client enable remote clients to authenticate using Elytron.org.wildfly.security.auth.realm.ldap Classes related to aSecurityRealm
implementation capable of integrating with LDAP servers.org.wildfly.security.sasl.auth.util org.wildfly.security.sasl.util -
-
Uses of AuthenticationContext in org.wildfly.security.auth.client
Fields in org.wildfly.security.auth.client declared as AuthenticationContext Modifier and Type Field Description (package private) static AuthenticationContext
DefaultAuthenticationContextProvider. DEFAULT
(package private) static AuthenticationContext
AuthenticationContext. EMPTY
Fields in org.wildfly.security.auth.client with type parameters of type AuthenticationContext Modifier and Type Field Description private static org.wildfly.common.context.ContextManager<AuthenticationContext>
AuthenticationContext. CONTEXT_MANAGER
private static Supplier<AuthenticationContext>
AuthenticationContext. SUPPLIER
Methods in org.wildfly.security.auth.client that return AuthenticationContext Modifier and Type Method 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(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 theidx
parameter.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(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 theidx
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 theidx
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 theidx
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.Methods in org.wildfly.security.auth.client that return types with arguments of type AuthenticationContext Modifier and Type Method 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 specifiedURI
.(package private) static SecurityFactory<AuthenticationContext>
ElytronXmlParser. parseAuthenticationClientConfiguration(org.wildfly.client.config.ConfigurationXMLStreamReader reader)
Parse a Elytron authentication client configuration from a configuration XML reader.(package private) static SecurityFactory<AuthenticationContext>
ElytronXmlParser. parseAuthenticationClientType(org.wildfly.client.config.ConfigurationXMLStreamReader reader, ElytronXmlParser.Version xmlVersion)
Parse an XML element of typeauthentication-client-type
from an XML reader.private static SecurityFactory<AuthenticationContext>
ElytronXmlParser. parseLegacyConfiguration()
Methods in org.wildfly.security.auth.client with parameters of type AuthenticationContext Modifier and Type Method Description AuthenticationConfiguration
AuthenticationContextConfigurationClient. getAuthenticationConfiguration(URI uri, AuthenticationContext authenticationContext)
Get the authentication configuration which matches the given URI, orAuthenticationConfiguration.EMPTY
if there is none.AuthenticationConfiguration
AuthenticationContextConfigurationClient. getAuthenticationConfiguration(URI uri, AuthenticationContext authenticationContext, int protocolDefaultPort)
Get the authentication configuration which matches the given URI, orAuthenticationConfiguration.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, orAuthenticationConfiguration.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, orAuthenticationConfiguration.EMPTY
if there is none.SSLContext
AuthenticationContextConfigurationClient. getSSLContext(URI uri, AuthenticationContext authenticationContext)
Get the SSL context which matches the given URI, orSSLContext.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, orSSLContext.getDefault()
if there is none.SSLContext
AuthenticationContextConfigurationClient. getSSLContext(AuthenticationContext authenticationContext)
Get the configured SSL context which matches ALL rules from provided AuthenticationContext, orSSLContext.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, orSSLContext.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.Constructors in org.wildfly.security.auth.client with parameters of type AuthenticationContext Constructor Description WildFlyElytronClientDefaultSSLContextSpi(AuthenticationContext authenticationContext)
SSLContextSpi used by WildFlyElytronClientDefaultSSLContextProvider that uses Elytron client configuration from provided authentication context. -
Uses of AuthenticationContext in org.wildfly.security.auth.realm.ldap
Fields in org.wildfly.security.auth.realm.ldap declared as AuthenticationContext Modifier and Type Field Description private AuthenticationContext
SimpleDirContextFactoryBuilder. authenticationContext
Methods in org.wildfly.security.auth.realm.ldap with parameters of type AuthenticationContext Modifier and Type Method Description SimpleDirContextFactoryBuilder
SimpleDirContextFactoryBuilder. setAuthenticationContext(AuthenticationContext authenticationContext)
Set the authentication context as source of security credential. -
Uses of AuthenticationContext in org.wildfly.security.sasl.auth.util
Fields in org.wildfly.security.sasl.auth.util declared as AuthenticationContext Modifier and Type Field Description private AuthenticationContext
AuthenticationContextSaslClient. context
private AuthenticationContext
AuthenticationContextSaslClientFactory. context
private AuthenticationContext
AuthenticationContextSaslServer. context
private AuthenticationContext
AuthenticationContextSaslServerFactory. context
Constructors in org.wildfly.security.sasl.auth.util with parameters of type AuthenticationContext Constructor 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. -
Uses of AuthenticationContext in org.wildfly.security.sasl.util
Fields in org.wildfly.security.sasl.util declared as AuthenticationContext Modifier and Type Field Description private AuthenticationContext
AuthenticationContextSaslClient. context
Deprecated.private AuthenticationContext
AuthenticationContextSaslClientFactory. context
Deprecated.private AuthenticationContext
AuthenticationContextSaslServer. context
Deprecated.private AuthenticationContext
AuthenticationContextSaslServerFactory. context
Deprecated.Constructors in org.wildfly.security.sasl.util with parameters of type AuthenticationContext Constructor Description AuthenticationContextSaslClient(SaslClient delegate, AuthenticationContext context)
Deprecated.Construct a new instance.AuthenticationContextSaslClientFactory(SaslClientFactory delegate, AuthenticationContext context)
Deprecated.Construct a new instance.AuthenticationContextSaslServer(SaslServer delegate, AuthenticationContext context)
Deprecated.Construct a new instance.AuthenticationContextSaslServerFactory(SaslServerFactory delegate, AuthenticationContext context)
Deprecated.Construct a new instance.
-