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, vbucketcallback, 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, resetInputaddClone, cancel, getBuffer, getCallback, getCloneCount, getException, getHandlingNode, getState, getWriteCompleteTimestamp, handleError, handleRead, hasErrored, isCancelled, isTimedOut, isTimedOut, isTimedOutUnsent, setBuffer, setCallback, setCloneCount, setHandlingNode, timeOut, transitionState, wasCancelled, writeComplete, writingclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaddClone, cancel, getBuffer, getCallback, getCloneCount, getException, getHandlingNode, getState, getWriteCompleteTimestamp, handleRead, hasErrored, isCancelled, isTimedOut, isTimedOut, isTimedOutUnsent, setCloneCount, setHandlingNode, timeOut, writeComplete, writingprotected 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()
Operationinitialize in interface Operationinitialize in class BaseOperationImplprotected abstract byte[] buildResponse(javax.security.sasl.SaslClient sc)
throws javax.security.sasl.SaslException
javax.security.sasl.SaslExceptionprotected void decodePayload(byte[] pl)
OperationImpldecodePayload in class OperationImplpl - the payload.protected void finishedPayload(byte[] pl)
throws java.io.IOException
finishedPayload in class OperationImpljava.io.IOExceptionpublic java.lang.String toString()
toString in class OperationImplCopyright © 2006-2009 Dustin Sallings, 2009-2013 Couchbase, Inc.