Package rocks.xmpp.core.sasl
Class XmppSaslClientFactory
- java.lang.Object
-
- rocks.xmpp.core.sasl.XmppSaslClientFactory
-
- All Implemented Interfaces:
SaslClientFactory
public final class XmppSaslClientFactory extends Object implements SaslClientFactory
A factory which creates SaslClients, which are used in XMPP context and are not natively provided by the default security provider.For example, the ANONYMOUS and SCRAM-SHA-1 mechanisms are not provided by default.
-
-
Constructor Summary
Constructors Constructor Description XmppSaslClientFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SaslClient
createSaslClient(String[] mechanisms, String authorizationId, String protocol, String serverName, Map<String,?> props, CallbackHandler cbh)
String[]
getMechanismNames(Map<String,?> props)
-
-
-
Method Detail
-
createSaslClient
public final SaslClient createSaslClient(String[] mechanisms, String authorizationId, String protocol, String serverName, Map<String,?> props, CallbackHandler cbh)
- Specified by:
createSaslClient
in interfaceSaslClientFactory
-
getMechanismNames
public final String[] getMechanismNames(Map<String,?> props)
- Specified by:
getMechanismNames
in interfaceSaslClientFactory
-
-