Package tigase.auth.mechanisms
Class TigaseSaslServerFactory
- java.lang.Object
-
- tigase.auth.mechanisms.TigaseSaslServerFactory
-
- All Implemented Interfaces:
SaslServerFactory
@Bean(name="tigaseSaslServerFactory", parent=TigaseSaslProvider.class, active=true) public class TigaseSaslServerFactory extends Object implements SaslServerFactory
-
-
Field Summary
Fields Modifier and Type Field Description static StringANONYMOUS_MECHANISM_ALLOWED
-
Constructor Summary
Constructors Constructor Description TigaseSaslServerFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SaslServercreateSaslServer(String mechanism, String protocol, String serverName, Map<String,?> props, CallbackHandler callbackHandler)String[]getMechanismNames(Map<String,?> props)
-
-
-
Field Detail
-
ANONYMOUS_MECHANISM_ALLOWED
public static final String ANONYMOUS_MECHANISM_ALLOWED
- See Also:
- Constant Field Values
-
-
Method Detail
-
createSaslServer
public SaslServer createSaslServer(String mechanism, String protocol, String serverName, Map<String,?> props, CallbackHandler callbackHandler) throws SaslException
- Specified by:
createSaslServerin interfaceSaslServerFactory- Throws:
SaslException
-
getMechanismNames
public String[] getMechanismNames(Map<String,?> props)
- Specified by:
getMechanismNamesin interfaceSaslServerFactory
-
-