public static class SaslPlainServer.SaslPlainServerFactory extends Object implements SaslServerFactory
Constructor and Description |
---|
SaslPlainServerFactory() |
Modifier and Type | Method and Description |
---|---|
SaslServer |
createSaslServer(String mechanism,
String protocol,
String serverName,
Map<String,?> props,
CallbackHandler cbh) |
String[] |
getMechanismNames(Map<String,?> props) |
public SaslServer createSaslServer(String mechanism, String protocol, String serverName, Map<String,?> props, CallbackHandler cbh) throws SaslException
createSaslServer
in interface SaslServerFactory
SaslException
public String[] getMechanismNames(Map<String,?> props)
getMechanismNames
in interface SaslServerFactory
Copyright © 2019 The Apache Software Foundation. All rights reserved.