org.apache.qpid.server.security.auth.sasl.amqplain
Class AmqPlainSaslServer
java.lang.Object
org.apache.qpid.server.security.auth.sasl.amqplain.AmqPlainSaslServer
- All Implemented Interfaces:
- SaslServer
public class AmqPlainSaslServer
- 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
AmqPlainSaslServer
public AmqPlainSaslServer(CallbackHandler cbh)
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