Smack

org.jivesoftware.smack.sasl
Class SASLPlainMechanism

java.lang.Object
  extended by org.jivesoftware.smack.sasl.SASLMechanism
      extended by org.jivesoftware.smack.sasl.SASLPlainMechanism
All Implemented Interfaces:
javax.security.auth.callback.CallbackHandler

public class SASLPlainMechanism
extends SASLMechanism

Implementation of the SASL PLAIN mechanism

Author:
Jay Kline

Nested Class Summary
 
Nested classes/interfaces inherited from class org.jivesoftware.smack.sasl.SASLMechanism
SASLMechanism.AuthMechanism, SASLMechanism.Challenge, SASLMechanism.Failure, SASLMechanism.Response, SASLMechanism.Success
 
Field Summary
 
Fields inherited from class org.jivesoftware.smack.sasl.SASLMechanism
authenticationId, hostname, password, sc
 
Constructor Summary
SASLPlainMechanism(SASLAuthentication saslAuthentication)
           
 
Method Summary
protected  String getName()
          Returns the common name of the SASL mechanism.
 
Methods inherited from class org.jivesoftware.smack.sasl.SASLMechanism
authenticate, authenticate, authenticate, authenticate, challengeReceived, getSASLAuthentication, handle
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SASLPlainMechanism

public SASLPlainMechanism(SASLAuthentication saslAuthentication)
Method Detail

getName

protected String getName()
Description copied from class: SASLMechanism
Returns the common name of the SASL mechanism. E.g.: PLAIN, DIGEST-MD5 or GSSAPI.

Specified by:
getName in class SASLMechanism
Returns:
the common name of the SASL mechanism.

Smack

Copyright © 2003-2007 Jive Software.