Package org.wildfly.security.sasl.util
Class PropertiesSaslServerFactory
- java.lang.Object
-
- org.wildfly.security.sasl.util.AbstractDelegatingSaslServerFactory
-
- org.wildfly.security.sasl.util.PropertiesSaslServerFactory
-
- All Implemented Interfaces:
SaslServerFactory
public class PropertiesSaslServerFactory extends AbstractDelegatingSaslServerFactory
A SaslServerFactory allowing the user to add properties- Author:
- Kabir Khan
-
-
Field Summary
-
Fields inherited from class org.wildfly.security.sasl.util.AbstractDelegatingSaslServerFactory
delegate
-
-
Constructor Summary
Constructors Constructor Description PropertiesSaslServerFactory(SaslServerFactory delegate, Map<String,?> properties)Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SaslServercreateSaslServer(String mechanism, String protocol, String serverName, Map<String,?> props, CallbackHandler cbh)String[]getMechanismNames(Map<String,?> props)-
Methods inherited from class org.wildfly.security.sasl.util.AbstractDelegatingSaslServerFactory
delegatesThrough, toString
-
-
-
-
Constructor Detail
-
PropertiesSaslServerFactory
public PropertiesSaslServerFactory(SaslServerFactory delegate, Map<String,?> properties)
Constructor- Parameters:
delegate- the underlying SaslServerFactoryproperties- the properties
-
-
Method Detail
-
getMechanismNames
public String[] getMechanismNames(Map<String,?> props)
- Specified by:
getMechanismNamesin interfaceSaslServerFactory- Overrides:
getMechanismNamesin classAbstractDelegatingSaslServerFactory
-
createSaslServer
public SaslServer createSaslServer(String mechanism, String protocol, String serverName, Map<String,?> props, CallbackHandler cbh) throws SaslException
- Specified by:
createSaslServerin interfaceSaslServerFactory- Overrides:
createSaslServerin classAbstractDelegatingSaslServerFactory- Throws:
SaslException
-
-