Uses of Interface
org.wildfly.security.SecurityFactory
-
Packages that use SecurityFactory 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.mechanism.gssapi org.wildfly.security.ssl -
-
Uses of SecurityFactory in org.wildfly.security
Classes in org.wildfly.security that implement SecurityFactory Modifier and Type Class Description class
FailedSecurityFactory<T>
ASecurityFactory
implementation which only throws specified exception on create.class
FixedSecurityFactory<T>
ASecurityFactory
implementation which returns specified object every time.class
NullSecurityFactory<T>
ASecurityFactory
implementation which returns null every time.class
OneTimeSecurityFactory<T>
ASecurityFactory
implementation which calls delegated factory at first and returns created object for any other create call.Constructors in org.wildfly.security with parameters of type SecurityFactory Constructor Description OneTimeSecurityFactory(SecurityFactory<T> factory)
Creates a new factory instance. -
Uses of SecurityFactory in org.wildfly.security.auth.client
Methods in org.wildfly.security.auth.client that return SecurityFactory Modifier and Type Method 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, orSSLContext.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 specifiedURI
.Methods in org.wildfly.security.auth.client with parameters of type SecurityFactory Modifier and Type Method 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<? extends 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 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. -
Uses of SecurityFactory in org.wildfly.security.auth.server
Methods in org.wildfly.security.auth.server with parameters of type SecurityFactory Modifier and Type Method Description MechanismConfiguration.Builder
MechanismConfiguration.Builder. setServerCredential(SecurityFactory<? extends Credential> credentialFactory)
Set a single server credential factory. -
Uses of SecurityFactory in org.wildfly.security.auth.util
Classes in org.wildfly.security.auth.util that implement SecurityFactory Modifier and Type Class Description class
GSSCredentialSecurityFactory
Deprecated.UseGSSCredentialSecurityFactory
insteadMethods in org.wildfly.security.auth.util that return SecurityFactory Modifier and Type Method Description SecurityFactory<GSSKerberosCredential>
GSSCredentialSecurityFactory.Builder. build()
Construct a newGSSKerberosCredential
security factory instance. -
Uses of SecurityFactory in org.wildfly.security.credential.source
Methods in org.wildfly.security.credential.source with parameters of type SecurityFactory Modifier and Type Method Description static CredentialSource
CredentialSource. fromSecurityFactory(SecurityFactory<? extends Credential> credentialFactory)
Get a credential source from the given security factory.Constructors in org.wildfly.security.credential.source with parameters of type SecurityFactory Constructor Description CredentialStoreCredentialSource(SecurityFactory<CredentialStore> credentialStoreFactory, String alias)
Deprecated.Construct a new instance.FactoryCredentialSource(SecurityFactory<? extends Credential> credentialFactory)
Deprecated.Construct a new instance.KeyStoreCredentialSource(SecurityFactory<KeyStore.Entry> entryFactory)
Deprecated.Construct a new instance. -
Uses of SecurityFactory in org.wildfly.security.mechanism.gssapi
Classes in org.wildfly.security.mechanism.gssapi that implement SecurityFactory Modifier and Type Class Description class
GSSCredentialSecurityFactory
ASecurityFactory
implementation for obtaining aGSSCredential
.Methods in org.wildfly.security.mechanism.gssapi that return SecurityFactory Modifier and Type Method Description SecurityFactory<GSSKerberosCredential>
GSSCredentialSecurityFactory.Builder. build()
Construct a newGSSKerberosCredential
security factory instance. -
Uses of SecurityFactory in org.wildfly.security.ssl
Methods in org.wildfly.security.ssl that return SecurityFactory Modifier and Type Method 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.Methods in org.wildfly.security.ssl with parameters of type SecurityFactory Modifier and Type Method 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.
-