public abstract class AbstractSaslServer extends AbstractSaslParticipant implements javax.security.sasl.SaslServer
NO_BYTES| Modifier | Constructor and Description |
|---|---|
protected |
AbstractSaslServer(java.lang.String mechanismName,
java.lang.String protocol,
java.lang.String serverName,
javax.security.auth.callback.CallbackHandler callbackHandler)
Construct a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
byte[] |
evaluateResponse(byte[] response)
Evaluate an authentication response received from the client.
|
dispose, evaluateMessage, getCallbackHandler, getContext, getMechanismName, getNegotiatedProperty, getProtocol, getServerName, getWrapper, handleCallbacks, init, isComplete, setWrapper, tryHandleCallbacks, unwrap, wrapprotected AbstractSaslServer(java.lang.String mechanismName,
java.lang.String protocol,
java.lang.String serverName,
javax.security.auth.callback.CallbackHandler callbackHandler)
mechanismName - the name of the defined mechanismprotocol - the protocolserverName - the server namecallbackHandler - the callback handlerpublic byte[] evaluateResponse(byte[] response)
throws javax.security.sasl.SaslException
evaluateResponse in interface javax.security.sasl.SaslServerresponse - the authentication responsejavax.security.sasl.SaslException - if there is an error processing the server message