Package org.wildfly.security.sasl.util
Class AggregateSaslServerFactory
java.lang.Object
org.wildfly.security.sasl.util.AggregateSaslServerFactory
- All Implemented Interfaces:
SaslServerFactory
A
SaslServerFactory which aggregates other SaslServerFactory instances into one.- Author:
- David M. Lloyd
-
Constructor Summary
ConstructorsConstructorDescriptionAggregateSaslServerFactory(Collection<SaslServerFactory> factories) Construct a new instance.AggregateSaslServerFactory(SaslServerFactory... factories) Construct a new instance. -
Method Summary
Modifier and TypeMethodDescriptioncreateSaslServer(String mechanism, String protocol, String serverName, Map<String, ?> props, CallbackHandler cbh) String[]getMechanismNames(Map<String, ?> props)
-
Constructor Details
-
AggregateSaslServerFactory
Construct a new instance.- Parameters:
factories- the factories to aggregate (must not benull)
-
AggregateSaslServerFactory
Construct a new instance.- Parameters:
factories- the factories to aggregate (must not benull)
-
-
Method Details
-
createSaslServer
public SaslServer createSaslServer(String mechanism, String protocol, String serverName, Map<String, ?> props, CallbackHandler cbh) throws SaslException- Specified by:
createSaslServerin interfaceSaslServerFactory- Throws:
SaslException
-
getMechanismNames
- Specified by:
getMechanismNamesin interfaceSaslServerFactory
-