public abstract class SASLBaseOperationImpl extends OperationImpl
Modifier and Type | Field and Description |
---|---|
protected javax.security.auth.callback.CallbackHandler |
cbh |
protected byte[] |
challenge |
protected java.lang.String[] |
mech |
protected java.util.Map<java.lang.String,?> |
props |
protected java.lang.String |
serverName |
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
callback, CANCELLED, notMyVbucketNodes, TIMED_OUT
Constructor and Description |
---|
SASLBaseOperationImpl(byte c,
java.lang.String[] m,
byte[] ch,
java.lang.String s,
java.util.Map<java.lang.String,?> p,
javax.security.auth.callback.CallbackHandler h,
OperationCallback cb) |
Modifier and Type | Method and Description |
---|---|
protected abstract byte[] |
buildResponse(javax.security.sasl.SaslClient sc) |
protected void |
decodePayload(byte[] pl)
Decode the given payload for this command.
|
protected void |
finishedPayload(byte[] pl) |
void |
initialize()
Initialize this operation.
|
java.lang.String |
toString() |
getErrorMsg, getStatusForErrorCode, opaqueIsValid, prepareBuffer, readFromBuffer, resetInput
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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
addClone, cancel, getBuffer, getCallback, getCloneCount, getException, getHandlingNode, getState, getWriteCompleteTimestamp, handleRead, hasErrored, isCancelled, isTimedOut, isTimedOut, isTimedOutUnsent, setCloneCount, setHandlingNode, timeOut, writeComplete, writing
protected final java.lang.String[] mech
protected final byte[] challenge
protected final java.lang.String serverName
protected final java.util.Map<java.lang.String,?> props
protected final javax.security.auth.callback.CallbackHandler cbh
public SASLBaseOperationImpl(byte c, java.lang.String[] m, byte[] ch, java.lang.String s, java.util.Map<java.lang.String,?> p, javax.security.auth.callback.CallbackHandler h, OperationCallback cb)
public void initialize()
Operation
initialize
in interface Operation
initialize
in class BaseOperationImpl
protected abstract byte[] buildResponse(javax.security.sasl.SaslClient sc) throws javax.security.sasl.SaslException
javax.security.sasl.SaslException
protected void decodePayload(byte[] pl)
OperationImpl
decodePayload
in class OperationImpl
pl
- the payload.protected void finishedPayload(byte[] pl) throws java.io.IOException
finishedPayload
in class OperationImpl
java.io.IOException
public java.lang.String toString()
toString
in class OperationImpl
Copyright © 2006-2009 Dustin Sallings, 2009-2013 Couchbase, Inc.