Save This Page
Home » openjdk-7 » javax.security » sasl » [javadoc | source]
javax.security.sasl
abstract public interface: SaslServerFactory [javadoc | source] An interface for creating instances of SaslServer. A class that implements this interface must be thread-safe and handle multiple simultaneous requests. It must also have a public constructor that accepts no argument.

This interface is not normally accessed directly by a server, which will use the Sasl static methods instead. However, a particular environment may provide and install a new or different SaslServerFactory.

Method from javax.security.sasl.SaslServerFactory Summary:
createSaslServer,   getMechanismNames
Method from javax.security.sasl.SaslServerFactory Detail:
 abstract public SaslServer createSaslServer(String mechanism,
    String protocol,
    String serverName,
    Map props,
    CallbackHandler cbh) throws SaslException
    Creates a SaslServer using the parameters supplied. It returns null if no SaslServer can be created using the parameters supplied. Throws SaslException if it cannot create a SaslServer because of an error.
 abstract public String[] getMechanismNames(Map props)
    Returns an array of names of mechanisms that match the specified mechanism selection policies.