org.apache.qpid.management.common.sasl
Class PlainSaslClient
java.lang.Object
org.apache.qpid.management.common.sasl.PlainSaslClient
- All Implemented Interfaces:
- SaslClient
public class PlainSaslClient
- extends Object
- implements SaslClient
PlainSaslClient
public PlainSaslClient(String authorizationID,
CallbackHandler cbh)
throws SaslException
- Throws:
SaslException
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