org.apache.vysper.xmpp.authorization
Class Plain

java.lang.Object
  extended by org.apache.vysper.xmpp.authorization.Plain
All Implemented Interfaces:
SASLMechanism

@SpecCompliance(compliant={@SpecCompliant(spec="rfc4616",status=IN_PROGRESS,coverage=PARTIAL),@SpecCompliant(spec="rfc3920bis-09",section="15.6.",status=IN_PROGRESS,coverage=PARTIAL,comment="PLAIN is mandatory now")})
public class Plain
extends java.lang.Object
implements SASLMechanism

handles SASL PLAIN mechanism. this mechanism is standardized in RFC4616


Constructor Summary
Plain()
           
 
Method Summary
 java.lang.String getName()
          name of the mechanism, used to uniquely identify the mechanism in server/client communication
 Stanza started(SessionContext sessionContext, SessionStateHolder sessionStateHolder, Stanza authStanza)
          called by the server to handle mechanism specific logic as client issues a auth-stanza.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Plain

public Plain()
Method Detail

getName

public java.lang.String getName()
Description copied from interface: SASLMechanism
name of the mechanism, used to uniquely identify the mechanism in server/client communication

Specified by:
getName in interface SASLMechanism

started

public Stanza started(SessionContext sessionContext,
                      SessionStateHolder sessionStateHolder,
                      Stanza authStanza)
Description copied from interface: SASLMechanism
called by the server to handle mechanism specific logic as client issues a auth-stanza.

Specified by:
started in interface SASLMechanism