org.apache.qpid.server.security.auth.sasl.crammd5
Class CRAMMD5HexSaslServer
java.lang.Object
org.apache.qpid.server.security.auth.sasl.crammd5.CRAMMD5HexSaslServer
- All Implemented Interfaces:
- SaslServer
public class CRAMMD5HexSaslServer
- extends Object
- implements SaslServer
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MECHANISM
public static final String MECHANISM
- See Also:
- Constant Field Values
CRAMMD5HexSaslServer
public CRAMMD5HexSaslServer(String mechanism,
String protocol,
String serverName,
Map<String,?> props,
CallbackHandler cbh)
throws SaslException
- Throws:
SaslException
getMechanismName
public String getMechanismName()
- Specified by:
getMechanismName
in interface SaslServer
evaluateResponse
public byte[] evaluateResponse(byte[] response)
throws SaslException
- Specified by:
evaluateResponse
in interface SaslServer
- Throws:
SaslException
isComplete
public boolean isComplete()
- Specified by:
isComplete
in interface SaslServer
getAuthorizationID
public String getAuthorizationID()
- Specified by:
getAuthorizationID
in interface SaslServer
unwrap
public byte[] unwrap(byte[] incoming,
int offset,
int len)
throws SaslException
- Specified by:
unwrap
in interface SaslServer
- Throws:
SaslException
wrap
public byte[] wrap(byte[] outgoing,
int offset,
int len)
throws SaslException
- Specified by:
wrap
in interface SaslServer
- Throws:
SaslException
getNegotiatedProperty
public Object getNegotiatedProperty(String propName)
- Specified by:
getNegotiatedProperty
in interface SaslServer
dispose
public void dispose()
throws SaslException
- Specified by:
dispose
in interface SaslServer
- Throws:
SaslException
Licensed to the Apache Software Foundation