Package org.infinispan.commons.util
Class SaslUtils
java.lang.Object
org.infinispan.commons.util.SaslUtils
Utility methods for handling SASL authentication
- Author:
- David M. Lloyd, Tristan Tarrant
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionstatic Collection<SaslClientFactory>getSaslClientFactories(ClassLoader classLoader, Provider[] providers, boolean includeGlobal) Returns a collection of all the registeredSaslClientFactorys where the order is based on the order of the Provider registration and/or class path order.static Collection<SaslServerFactory>getSaslServerFactories(ClassLoader classLoader, Provider[] providers, boolean includeGlobal) Returns a collection of all of the registeredSaslServerFactorys where the order is based on the order of the Provider registration and/or class path order.
- 
Constructor Details- 
SaslUtilspublic SaslUtils()
 
- 
- 
Method Details- 
getSaslServerFactoriespublic static Collection<SaslServerFactory> getSaslServerFactories(ClassLoader classLoader, Provider[] providers, boolean includeGlobal) Returns a collection of all of the registeredSaslServerFactorys where the order is based on the order of the Provider registration and/or class path order. Class path providers are listed before global providers; in the event of a name conflict, the class path provider is preferred.- Parameters:
- classLoader- the class loader to use
- providers- an array of security- Providers to search first. Can be null.
- includeGlobal-- trueto include globally registered providers,- falseto exclude them
- Returns:
- the IteratorofSaslServerFactorys
 
- 
getSaslClientFactoriespublic static Collection<SaslClientFactory> getSaslClientFactories(ClassLoader classLoader, Provider[] providers, boolean includeGlobal) Returns a collection of all the registeredSaslClientFactorys where the order is based on the order of the Provider registration and/or class path order. Class path providers are listed before global providers; in the event of a name conflict, the class path provider is preferred.- Parameters:
- classLoader- the class loader to use
- providers- an array of security- Providers to search first. Can be null.
- includeGlobal-- trueto include globally registered providers,- falseto exclude them
- Returns:
- the IteratorofSaslClientFactorys
 
 
-