Class SASLAuthOperationImpl
- java.lang.Object
-
- net.spy.memcached.compat.SpyObject
-
- net.spy.memcached.protocol.BaseOperationImpl
-
- net.spy.memcached.protocol.binary.OperationImpl
-
- net.spy.memcached.protocol.binary.SASLBaseOperationImpl
-
- net.spy.memcached.protocol.binary.SASLAuthOperationImpl
-
- All Implemented Interfaces:
Operation
,SASLAuthOperation
public class SASLAuthOperationImpl extends SASLBaseOperationImpl implements SASLAuthOperation
SASL authenticator.
-
-
Field Summary
Fields Modifier and Type Field Description private static byte
CMD
-
Fields inherited from class net.spy.memcached.protocol.binary.SASLBaseOperationImpl
cbh, challenge, mech, props, serverName
-
Fields inherited from class net.spy.memcached.protocol.binary.OperationImpl
DUMMY_OPCODE, EMPTY_BYTES, ERR_2BIG, ERR_BUSY, ERR_DELTA_BADVAL, ERR_EXISTS, ERR_INTERNAL, ERR_INVAL, ERR_NO_MEM, ERR_NOT_FOUND, ERR_NOT_MY_VBUCKET, ERR_NOT_STORED, ERR_NOT_SUPPORTED, ERR_TEMP_FAIL, ERR_UNKNOWN_COMMAND, errorCode, keyLen, MIN_RECV_PACKET, opaque, REQ_MAGIC, RES_MAGIC, responseCas, responseCmd, responseOpaque, STATUS_OK, SUCCESS, vbucket
-
Fields inherited from class net.spy.memcached.protocol.BaseOperationImpl
callback, CANCELLED, notMyVbucketNodes, TIMED_OUT
-
-
Constructor Summary
Constructors Constructor Description SASLAuthOperationImpl(java.lang.String[] m, java.lang.String s, java.util.Map<java.lang.String,?> p, javax.security.auth.callback.CallbackHandler h, OperationCallback c)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected byte[]
buildResponse(javax.security.sasl.SaslClient sc)
java.lang.String
toString()
-
Methods inherited from class net.spy.memcached.protocol.binary.SASLBaseOperationImpl
decodePayload, finishedPayload, initialize
-
Methods inherited from class net.spy.memcached.protocol.binary.OperationImpl
decodeByte, decodeInt, decodeLong, decodeShort, decodeUnsignedInt, generateOpaque, getErrorMsg, getStatusForErrorCode, opaqueIsValid, prepareBuffer, readFromBuffer, resetInput
-
Methods inherited from class net.spy.memcached.protocol.BaseOperationImpl
addClone, cancel, getBuffer, getCallback, getCloneCount, getException, getHandlingNode, getState, getWriteCompleteTimestamp, handleError, handleRead, hasErrored, isCancelled, isTimedOut, isTimedOut, isTimedOutUnsent, setBuffer, setCallback, setCloneCount, setHandlingNode, timeOut, transitionState, wasCancelled, writeComplete, writing
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface net.spy.memcached.ops.Operation
addClone, cancel, getBuffer, getCallback, getCloneCount, getErrorMsg, getException, getHandlingNode, getState, getWriteCompleteTimestamp, handleRead, hasErrored, initialize, isCancelled, isTimedOut, isTimedOut, isTimedOutUnsent, readFromBuffer, setCloneCount, setHandlingNode, timeOut, writeComplete, writing
-
-
-
-
Field Detail
-
CMD
private static final byte CMD
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
SASLAuthOperationImpl
public SASLAuthOperationImpl(java.lang.String[] m, java.lang.String s, java.util.Map<java.lang.String,?> p, javax.security.auth.callback.CallbackHandler h, OperationCallback c)
-
-
Method Detail
-
buildResponse
protected byte[] buildResponse(javax.security.sasl.SaslClient sc) throws javax.security.sasl.SaslException
- Specified by:
buildResponse
in classSASLBaseOperationImpl
- Throws:
javax.security.sasl.SaslException
-
toString
public java.lang.String toString()
- Overrides:
toString
in classSASLBaseOperationImpl
-
-