
net.spy.memcached.protocol.binary.SASLStepOperationImpl Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of arcus-java-client Show documentation
Show all versions of arcus-java-client Show documentation
Java client for Arcus memcached
package net.spy.memcached.protocol.binary;
import java.util.Map;
import javax.security.auth.callback.CallbackHandler;
import javax.security.sasl.SaslClient;
import javax.security.sasl.SaslException;
import net.spy.memcached.ops.OperationCallback;
import net.spy.memcached.ops.SASLStepOperation;
public class SASLStepOperationImpl extends SASLBaseOperationImpl
implements SASLStepOperation {
private final static int CMD = 0x22;
public SASLStepOperationImpl(String[] m, byte[] ch, String s,
Map p, CallbackHandler h, OperationCallback c) {
super(CMD, m, ch, s, p, h, c);
}
@Override
protected byte[] buildResponse(SaslClient sc) throws SaslException {
return sc.evaluateChallenge(challenge);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy