|Constructor and Description|
|Modifier and Type||Method and Description|
Returns an array of names of mechanisms that match the specified mechanism selection policies.
public SaslServer createSaslServer(String mechanism, String protocol, String serverName, Map<String,?> props, CallbackHandler cbh) throws SaslException
SaslServerimplementing a supported mechanism using the parameters supplied.
mechanism- The non-null IANA-registered named of a SASL mechanism.
protocol- The non-null string name of the protocol for which the authentication is being performed (e.g., "ldap").
serverName- The non-null fully qualified host name of the server to authenticate to.
props- The possibly null set of properties used to select the SASL mechanism and to configure the authentication exchange of the selected mechanism.
cbh- The possibly null callback handler to used by the SASL mechanisms to get further information from the application/library to complete the authentication.
SaslException- If cannot create a SaslServer because of an error.
Copyright © 2003-2008 Jive Software.