public abstract class AbstractSaslServer extends AbstractSaslParticipant implements SaslServer
NO_BYTES
Modifier | Constructor and Description |
---|---|
protected |
AbstractSaslServer(String mechanismName,
String protocol,
String serverName,
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, getCallbackHandler, getContext, getMechanismName, getNegotiatedProperty, getProtocol, getServerName, getWrapper, handleCallbacks, init, isComplete, setWrapper, tryHandleCallbacks, unwrap, wrap
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
dispose, getAuthorizationID, getMechanismName, getNegotiatedProperty, isComplete, unwrap, wrap
protected AbstractSaslServer(String mechanismName, String protocol, String serverName, CallbackHandler callbackHandler)
mechanismName
- the name of the defined mechanismprotocol
- the protocolserverName
- the server namecallbackHandler
- the callback handlerpublic byte[] evaluateResponse(byte[] response) throws SaslException
evaluateResponse
in interface SaslServer
response
- the authentication responseSaslException
- if there is an error processing the server messageCopyright © 2012 JBoss by Red Hat. All Rights Reserved.