Package | Description |
---|---|
org.wildfly.security |
WildFly security base package.
|
org.wildfly.security.auth.client |
Elytron Client enable remote clients to authenticate using Elytron.
|
org.wildfly.security.auth.server |
Server side of authentication provided by Elytron.
|
org.wildfly.security.auth.util |
Miscellaneous utility classes and APIs for client and server login applications.
|
org.wildfly.security.credential.source | |
org.wildfly.security.ssl |
Modifier and Type | Class and Description |
---|---|
class |
FailedSecurityFactory<T>
A
SecurityFactory implementation which only throws specified exception on create. |
class |
FixedSecurityFactory<T>
A
SecurityFactory implementation which returns specified object every time. |
class |
NullSecurityFactory<T>
A
SecurityFactory implementation which returns null every time. |
class |
OneTimeSecurityFactory<T>
A
SecurityFactory implementation which calls delegated factory at first and
returns created object for any other create call. |
Constructor and Description |
---|
OneTimeSecurityFactory(SecurityFactory<T> factory)
Creates a new factory instance.
|
Modifier and Type | Method and Description |
---|---|
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. |
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 |
---|---|
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.
|
AuthenticationConfiguration |
AuthenticationConfiguration.useKerberosSecurityFactory(SecurityFactory<Credential> kerberosSecurityFactory)
Deprecated.
|
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 |
---|---|
MechanismConfiguration.Builder |
MechanismConfiguration.Builder.setServerCredential(SecurityFactory<Credential> credentialFactory)
Set a single server credential factory.
|
Modifier and Type | Class and Description |
---|---|
class |
GSSCredentialSecurityFactory
A
SecurityFactory implementation for obtaining a GSSCredential . |
Modifier and Type | Method and Description |
---|---|
SecurityFactory<GSSKerberosCredential> |
GSSCredentialSecurityFactory.Builder.build()
Construct a new
GSSKerberosCredential security factory instance. |
Modifier and Type | Method and Description |
---|---|
static CredentialSource |
CredentialSource.fromSecurityFactory(SecurityFactory<Credential> credentialFactory)
Get a credential source from the given security factory.
|
Constructor and Description |
---|
CredentialStoreCredentialSource(SecurityFactory<CredentialStore> credentialStoreFactory,
String alias)
Construct a new instance.
|
FactoryCredentialSource(SecurityFactory<? extends Credential> credentialFactory)
Construct a new instance.
|
KeyStoreCredentialSource(SecurityFactory<KeyStore.Entry> entryFactory)
Construct a new instance.
|
Modifier and Type | Method and Description |
---|---|
SecurityFactory<SSLContext> |
SSLContextBuilder.build()
Build a security factory for the new context.
|
static SecurityFactory<SSLContext> |
SSLUtils.createConfiguredSslContextFactory(SecurityFactory<SSLContext> originalFactory,
SSLConfigurator sslConfigurator)
Create a configured SSL context factory from an outside SSL context.
|
static SecurityFactory<SSLEngine> |
SSLUtils.createDispatchingSSLEngineFactory(SSLContextSelector selector)
Get a factory which produces SSL engines which dispatch to the appropriate SSL context based on the information
in the SSL greeting.
|
static SecurityFactory<SSLContext> |
SSLUtils.createSimpleSslContextFactory(String protocol,
Provider provider)
Create a simple security factory for SSL contexts.
|
static SecurityFactory<SSLContext> |
SSLUtils.createSslContextFactory(ProtocolSelector protocolSelector,
Supplier<Provider[]> providerSupplier)
Create an SSL context factory which locates the best context by searching the preferred providers in order using
the rules established in the given protocol selector.
|
static SecurityFactory<SSLContext> |
SSLUtils.createSslContextFactory(ProtocolSelector protocolSelector,
Supplier<Provider[]> providerSupplier,
String providerName)
Create an SSL context factory which locates the best context by searching the preferred providers in order using
the rules established in the given protocol selector.
|
static SecurityFactory<X509TrustManager> |
SSLUtils.getDefaultX509TrustManagerSecurityFactory()
Get the platform's default X.509 trust manager security factory.
|
Modifier and Type | Method and Description |
---|---|
static SecurityFactory<SSLContext> |
SSLUtils.createConfiguredSslContextFactory(SecurityFactory<SSLContext> originalFactory,
SSLConfigurator sslConfigurator)
Create a configured SSL context factory from an outside SSL context.
|
SSLContextBuilder |
SSLContextBuilder.setKeyManagerSecurityFactory(SecurityFactory<X509ExtendedKeyManager> keyManagerSecurityFactory)
Set the factory for the key manager which should be used to hold identities for this context.
|
SSLContextBuilder |
SSLContextBuilder.setTrustManagerSecurityFactory(SecurityFactory<X509TrustManager> trustManagerSecurityFactory)
Set the factory for the trust manager which should be used for the initial trust decisions during connection.
|
Copyright © 2020 JBoss by Red Hat. All rights reserved.