Package org.wildfly.security.sasl.otp
Class OTPSaslServerFactory
- java.lang.Object
-
- org.wildfly.security.sasl.otp.OTPSaslServerFactory
-
- All Implemented Interfaces:
SaslServerFactory
@MetaInfServices(javax.security.sasl.SaslServerFactory.class) public final class OTPSaslServerFactory extends Object implements SaslServerFactory
The server factory for the OTP SASL mechanism.- Author:
- Farah Juma
-
-
Constructor Summary
Constructors Constructor Description OTPSaslServerFactory()
OTPSaslServerFactory(Provider provider)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SaslServer
createSaslServer(String mechanism, String protocol, String serverName, Map<String,?> props, CallbackHandler cbh)
String[]
getMechanismNames(Map<String,?> props)
-
-
-
Constructor Detail
-
OTPSaslServerFactory
public OTPSaslServerFactory()
-
OTPSaslServerFactory
public OTPSaslServerFactory(Provider provider)
-
-
Method Detail
-
createSaslServer
public SaslServer createSaslServer(String mechanism, String protocol, String serverName, Map<String,?> props, CallbackHandler cbh) throws SaslException
- Specified by:
createSaslServer
in interfaceSaslServerFactory
- Throws:
SaslException
-
getMechanismNames
public String[] getMechanismNames(Map<String,?> props)
- Specified by:
getMechanismNames
in interfaceSaslServerFactory
-
-