Package org.wildfly.security.sasl.util
Class SaslFactories
java.lang.Object
org.wildfly.security.sasl.util.SaslFactories
A utility class for discovering SASL client and server factories.
- Author:
- David M. Lloyd
-
Method Summary
Modifier and TypeMethodDescriptionstatic SaslClientFactoryGet a SASL client factory which returns an Elytron-provided mechanism.static SaslServerFactoryGet a SASL server factory which returns an Elytron-provided mechanism.static SaslClientFactoryGet aSaslClientFactorywhich does not provide any mechanisms.static SaslServerFactoryGet aSaslServerFactorywhich does not provide any mechanisms.Get a SASL client factory which uses the currently installed security providers to locate mechanisms.Get a SASL server factory which uses the currently installed security providers to locate mechanisms.static SaslClientFactorygetSearchSaslClientFactory(ClassLoader... classLoaders) Get a SASL client factory which searches all the given class loaders in order for mechanisms.static SaslServerFactorygetSearchSaslServerFactory(ClassLoader... classLoaders) Get a SASL server factory which searches all the given class loaders in order for mechanisms.
-
Method Details
-
getElytronSaslClientFactory
Get a SASL client factory which returns an Elytron-provided mechanism.- Returns:
- the SASL client factory (not
null)
-
getElytronSaslServerFactory
Get a SASL server factory which returns an Elytron-provided mechanism.- Returns:
- the SASL server factory (not
null)
-
getSearchSaslClientFactory
Get a SASL client factory which searches all the given class loaders in order for mechanisms.- Parameters:
classLoaders- the class loaders to search- Returns:
- the SASL client factory (not
null)
-
getSearchSaslServerFactory
Get a SASL server factory which searches all the given class loaders in order for mechanisms.- Parameters:
classLoaders- the class loaders to search- Returns:
- the SASL server factory (not
null)
-
getProviderSaslClientFactory
Get a SASL client factory which uses the currently installed security providers to locate mechanisms.- Returns:
- the SASL client factory (not
null)
-
getProviderSaslServerFactory
Get a SASL server factory which uses the currently installed security providers to locate mechanisms.- Returns:
- the SASL server factory (not
null)
-
getEmptySaslClientFactory
Get aSaslClientFactorywhich does not provide any mechanisms. -
getEmptySaslServerFactory
Get aSaslServerFactorywhich does not provide any mechanisms.
-