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.sasl.util 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.Fields in org.wildfly.security declared as SecurityFactory Modifier and Type Field Description private SecurityFactory<T>
OneTimeSecurityFactory. factory
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
Classes in org.wildfly.security.auth.client that implement SecurityFactory Modifier and Type Class Description (package private) class
KeyStoreEntrySecurityFactory
Fields in org.wildfly.security.auth.client declared as SecurityFactory Modifier and Type Field Description (package private) SecurityFactory<X509KeyManager>
AuthenticationConfiguration. keyManagerFactory
private SecurityFactory<KeyStore>
KeyStoreEntrySecurityFactory. keyStore
private SecurityFactory<KeyStore.ProtectionParameter>
KeyStoreEntrySecurityFactory. protectionParameter
(package private) SecurityFactory<X509TrustManager>
AuthenticationConfiguration. trustManagerFactory
Fields in org.wildfly.security.auth.client with type parameters of type SecurityFactory Modifier and Type Field Description (package private) RuleNode<SecurityFactory<SSLContext>>
AuthenticationContext. sslRules
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.(package private) SecurityFactory<X509KeyManager>
AuthenticationConfiguration. getX509KeyManagerFactory()
(package private) SecurityFactory<X509TrustManager>
AuthenticationConfiguration. getX509TrustManagerFactory()
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 that return types with arguments of type SecurityFactory Modifier and Type Method Description (package private) static org.wildfly.common.function.ExceptionUnaryOperator<RuleNode<SecurityFactory<SSLContext>>,org.wildfly.client.config.ConfigXMLParseException>
ElytronXmlParser. parseSslContextRuleType(org.wildfly.client.config.ConfigurationXMLStreamReader reader, ElytronXmlParser.Version xmlVersion, Map<String,org.wildfly.common.function.ExceptionSupplier<SecurityFactory<SSLContext>,org.wildfly.client.config.ConfigXMLParseException>> sslContextsMap)
(package private) RuleNode<SecurityFactory<SSLContext>>
AuthenticationContext. sslRuleMatching(URI uri, String abstractType, String abstractTypeAuthority)
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.Method parameters in org.wildfly.security.auth.client with type arguments of type SecurityFactory Modifier and Type Method Description (package private) static org.wildfly.common.function.ExceptionUnaryOperator<RuleNode<SecurityFactory<SSLContext>>,org.wildfly.client.config.ConfigXMLParseException>
ElytronXmlParser. parseSslContextRuleType(org.wildfly.client.config.ConfigurationXMLStreamReader reader, ElytronXmlParser.Version xmlVersion, Map<String,org.wildfly.common.function.ExceptionSupplier<SecurityFactory<SSLContext>,org.wildfly.client.config.ConfigXMLParseException>> sslContextsMap)
private static void
ElytronXmlParser. parseSslContextsType(org.wildfly.client.config.ConfigurationXMLStreamReader reader, ElytronXmlParser.Version xmlVersion, Map<String,org.wildfly.common.function.ExceptionSupplier<SecurityFactory<SSLContext>,org.wildfly.client.config.ConfigXMLParseException>> sslContextsMap, Map<String,org.wildfly.common.function.ExceptionSupplier<KeyStore,org.wildfly.client.config.ConfigXMLParseException>> keyStoresMap, Map<String,org.wildfly.common.function.ExceptionSupplier<CredentialStore,org.wildfly.client.config.ConfigXMLParseException>> credentialStoresMap, Supplier<Provider[]> providers)
private static void
ElytronXmlParser. parseSslContextType(org.wildfly.client.config.ConfigurationXMLStreamReader reader, ElytronXmlParser.Version xmlVersion, Map<String,org.wildfly.common.function.ExceptionSupplier<SecurityFactory<SSLContext>,org.wildfly.client.config.ConfigXMLParseException>> sslContextsMap, Map<String,org.wildfly.common.function.ExceptionSupplier<KeyStore,org.wildfly.client.config.ConfigXMLParseException>> keyStoresMap, Map<String,org.wildfly.common.function.ExceptionSupplier<CredentialStore,org.wildfly.client.config.ConfigXMLParseException>> credentialStoresMap, Supplier<Provider[]> providers)
Constructors in org.wildfly.security.auth.client with parameters of type SecurityFactory Constructor Description KeyStoreEntrySecurityFactory(SecurityFactory<KeyStore> keyStore, String alias, SecurityFactory<KeyStore.ProtectionParameter> protectionParameter)
-
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
Fields in org.wildfly.security.credential.source declared as SecurityFactory Modifier and Type Field Description private SecurityFactory<? extends Credential>
FactoryCredentialSource. credentialFactory
Deprecated.private SecurityFactory<CredentialStore>
CredentialStoreCredentialSource. credentialStoreFactory
Deprecated.private SecurityFactory<KeyStore.Entry>
KeyStoreCredentialSource. entryFactory
Deprecated.(package private) SecurityFactory<PasswordFactory>
CommandCredentialSource.Builder. passwordFactoryFactory
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.sasl.util
Fields in org.wildfly.security.sasl.util declared as SecurityFactory Modifier and Type Field Description private SecurityFactory<X509KeyManager>
KeyManagerCredentialSaslServerFactory. keyManagerFactory
private SecurityFactory<X509TrustManager>
TrustManagerSaslServerFactory. trustManagerFactory
-
Uses of SecurityFactory in org.wildfly.security.ssl
Fields in org.wildfly.security.ssl declared as SecurityFactory Modifier and Type Field Description private static SecurityFactory<X509TrustManager>
SSLUtils. DEFAULT_TRUST_MANAGER_SECURITY_FACTORY
private SecurityFactory<X509ExtendedKeyManager>
SSLContextBuilder. keyManagerSecurityFactory
private SecurityFactory<X509TrustManager>
SSLContextBuilder. trustManagerSecurityFactory
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.
-