API Overview API Index Package Overview Direct link to this page
JDK 1.6
  javax.security.sasl. Sasl View Source
Author(s)
Rosanna Lee
Rob Weltman
Since
1.5
Version
Serial
Hierarchy
 Object
      Sasl
Implements
Subclasses
Description
public class Sasl
  A static class for creating SASL clients and servers.
See also:   
Constructors
private Sasl ()
Methods
Hide/Show inherited methods
publicstatic SaslClient createSaslClient (String mechanisms, String authorizationId, String protocol, String serverName, Map<String, Object> props, CallbackHandler cbh) throws SaslException
  Creates a SaslClient using the parameters supplied.
publicstatic SaslServer createSaslServer (String mechanism, String protocol, String serverName, Map<String, Object> props, CallbackHandler cbh) throws SaslException
  Creates a SaslServer for the specified mechanism.
publicstatic Enumeration<SaslClientFactory> getSaslClientFactories ()
  Gets an enumeration of known factories for producing SaslClient.
publicstatic Enumeration<SaslServerFactory> getSaslServerFactories ()
  Gets an enumeration of known factories for producing SaslServer.
Fields
Hide/Show inherited fields
publicfinalstatic String CREDENTIALS = "javax.security.sasl.credentials"
  The name of a property that specifies the credentials to use.
publicfinalstatic String MAX_BUFFER = "javax.security.sasl.maxbuffer"
  The name of a property that specifies the maximum size of the receive buffer in bytes of SaslClient/SaslServer.
publicfinalstatic String POLICY_FORWARD_SECRECY = "javax.security.sasl.policy.forward"
  The name of a property that specifies whether mechanisms that implement forward secrecy between sessions are required.
publicfinalstatic String POLICY_NOACTIVE = "javax.security.sasl.policy.noactive"
  The name of a property that specifies whether mechanisms susceptible to active (non-dictionary) attacks are not permitted.
publicfinalstatic String POLICY_NOANONYMOUS = "javax.security.sasl.policy.noanonymous"
  The name of a property that specifies whether mechanisms that accept anonymous login are not permitted.
publicfinalstatic String POLICY_NODICTIONARY = "javax.security.sasl.policy.nodictionary"
  The name of a property that specifies whether mechanisms susceptible to passive dictionary attacks are not permitted.
publicfinalstatic String POLICY_NOPLAINTEXT = "javax.security.sasl.policy.noplaintext"
  The name of a property that specifies whether mechanisms susceptible to simple plain passive attacks (e.g., "PLAIN") are not permitted.
publicfinalstatic String POLICY_PASS_CREDENTIALS = "javax.security.sasl.policy.credentials"
  The name of a property that specifies whether mechanisms that pass client credentials are required.
publicfinalstatic String QOP = "javax.security.sasl.qop"
  The name of a property that specifies the quality-of-protection to use.
publicfinalstatic String RAW_SEND_SIZE = "javax.security.sasl.rawsendsize"
  The name of a property that specifies the maximum size of the raw send buffer in bytes of SaslClient/SaslServer.
publicfinalstatic String REUSE = "javax.security.sasl.reuse"
  The name of a property that specifies whether to reuse previously authenticated session information.
publicfinalstatic String SERVER_AUTH = "javax.security.sasl.server.authentication"
  The name of a property that specifies whether the server must authenticate to the client.
publicfinalstatic String STRENGTH = "javax.security.sasl.strength"
  The name of a property that specifies the cipher strength to use.
Nested Classes
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar