@Override public void success(SaslMessage value, ByteBuf buffer) { logger.trace("Server responded with message of type: {}", value.getStatus()); final SaslChallengeProcessor processor = CHALLENGE_PROCESSORS.get(value.getStatus()); if (processor == null) { completionListener.failed(RpcException.mapException(
public void writeTo(com.dyuproject.protostuff.Output output, org.apache.drill.exec.proto.UserBitShared.SaslMessage message) throws java.io.IOException { if(message.hasMechanism()) output.writeString(1, message.getMechanism(), false); if(message.hasData()) output.writeByteArray(2, message.getData().toByteArray(), false); if(message.hasStatus()) output.writeEnum(3, message.getStatus().getNumber(), false); } public boolean isInitialized(org.apache.drill.exec.proto.UserBitShared.SaslMessage message)
logger.trace("Received SASL message {} from {}", saslResponse.getStatus(), remoteAddress); final SaslResponseProcessor processor = RESPONSE_PROCESSORS.get(saslResponse.getStatus()); if (processor == null) { logger.info("Unknown message type from client from {}. Will stop authentication.", remoteAddress);
public Builder mergeFrom(org.apache.drill.exec.proto.UserBitShared.SaslMessage other) { if (other == org.apache.drill.exec.proto.UserBitShared.SaslMessage.getDefaultInstance()) return this; if (other.hasMechanism()) { bitField0_ |= 0x00000001; mechanism_ = other.mechanism_; onChanged(); } if (other.hasData()) { setData(other.getData()); } if (other.hasStatus()) { setStatus(other.getStatus()); } this.mergeUnknownFields(other.getUnknownFields()); return this; }
public void writeTo(com.dyuproject.protostuff.Output output, org.apache.drill.exec.proto.UserBitShared.SaslMessage message) throws java.io.IOException { if(message.hasMechanism()) output.writeString(1, message.getMechanism(), false); if(message.hasData()) output.writeByteArray(2, message.getData().toByteArray(), false); if(message.hasStatus()) output.writeEnum(3, message.getStatus().getNumber(), false); } public boolean isInitialized(org.apache.drill.exec.proto.UserBitShared.SaslMessage message)
public Builder mergeFrom(org.apache.drill.exec.proto.UserBitShared.SaslMessage other) { if (other == org.apache.drill.exec.proto.UserBitShared.SaslMessage.getDefaultInstance()) return this; if (other.hasMechanism()) { bitField0_ |= 0x00000001; mechanism_ = other.mechanism_; onChanged(); } if (other.hasData()) { setData(other.getData()); } if (other.hasStatus()) { setStatus(other.getStatus()); } this.mergeUnknownFields(other.getUnknownFields()); return this; }