org.apache.qpid.management.common.sasl
Class PlainSaslClient

java.lang.Object
  extended by org.apache.qpid.management.common.sasl.PlainSaslClient
All Implemented Interfaces:
SaslClient

public class PlainSaslClient
extends Object
implements SaslClient


Constructor Summary
PlainSaslClient(String authorizationID, CallbackHandler cbh)
           
 
Method Summary
 void dispose()
           
 byte[] evaluateChallenge(byte[] challenge)
           
protected  void finalize()
           
 String getMechanismName()
           
 Object getNegotiatedProperty(String propName)
           
 boolean hasInitialResponse()
           
 boolean isComplete()
           
 byte[] unwrap(byte[] incoming, int offset, int len)
           
 byte[] wrap(byte[] outgoing, int offset, int len)
           
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PlainSaslClient

public PlainSaslClient(String authorizationID,
                       CallbackHandler cbh)
                throws SaslException
Throws:
SaslException
Method Detail

evaluateChallenge

public byte[] evaluateChallenge(byte[] challenge)
                         throws SaslException
Specified by:
evaluateChallenge in interface SaslClient
Throws:
SaslException

getMechanismName

public String getMechanismName()
Specified by:
getMechanismName in interface SaslClient

hasInitialResponse

public boolean hasInitialResponse()
Specified by:
hasInitialResponse in interface SaslClient

isComplete

public boolean isComplete()
Specified by:
isComplete in interface SaslClient

unwrap

public byte[] unwrap(byte[] incoming,
                     int offset,
                     int len)
              throws SaslException
Specified by:
unwrap in interface SaslClient
Throws:
SaslException

wrap

public byte[] wrap(byte[] outgoing,
                   int offset,
                   int len)
            throws SaslException
Specified by:
wrap in interface SaslClient
Throws:
SaslException

getNegotiatedProperty

public Object getNegotiatedProperty(String propName)
Specified by:
getNegotiatedProperty in interface SaslClient

dispose

public void dispose()
             throws SaslException
Specified by:
dispose in interface SaslClient
Throws:
SaslException

finalize

protected void finalize()
Overrides:
finalize in class Object


Licensed to the Apache Software Foundation