public class QuorumAuth extends Object
Modifier and Type | Class and Description |
---|---|
static class |
QuorumAuth.Status |
Modifier and Type | Field and Description |
---|---|
static long |
QUORUM_AUTH_MAGIC_NUMBER |
static String |
QUORUM_KERBEROS_SERVICE_PRINCIPAL |
static String |
QUORUM_KERBEROS_SERVICE_PRINCIPAL_DEFAULT_VALUE |
static String |
QUORUM_LEARNER_SASL_AUTH_REQUIRED |
static String |
QUORUM_LEARNER_SASL_LOGIN_CONTEXT |
static String |
QUORUM_LEARNER_SASL_LOGIN_CONTEXT_DFAULT_VALUE |
static String |
QUORUM_SASL_AUTH_ENABLED |
static String |
QUORUM_SERVER_SASL_AUTH_REQUIRED |
static String |
QUORUM_SERVER_SASL_LOGIN_CONTEXT |
static String |
QUORUM_SERVER_SASL_LOGIN_CONTEXT_DFAULT_VALUE |
Constructor and Description |
---|
QuorumAuth() |
Modifier and Type | Method and Description |
---|---|
static QuorumAuthPacket |
createPacket(QuorumAuth.Status status,
byte[] response) |
static boolean |
nextPacketIsAuth(DataInputStream din) |
public static final String QUORUM_SASL_AUTH_ENABLED
public static final String QUORUM_SERVER_SASL_AUTH_REQUIRED
public static final String QUORUM_LEARNER_SASL_AUTH_REQUIRED
public static final String QUORUM_KERBEROS_SERVICE_PRINCIPAL
public static final String QUORUM_KERBEROS_SERVICE_PRINCIPAL_DEFAULT_VALUE
public static final String QUORUM_LEARNER_SASL_LOGIN_CONTEXT
public static final String QUORUM_LEARNER_SASL_LOGIN_CONTEXT_DFAULT_VALUE
public static final String QUORUM_SERVER_SASL_LOGIN_CONTEXT
public static final String QUORUM_SERVER_SASL_LOGIN_CONTEXT_DFAULT_VALUE
public static final long QUORUM_AUTH_MAGIC_NUMBER
public static QuorumAuthPacket createPacket(QuorumAuth.Status status, byte[] response)
public static boolean nextPacketIsAuth(DataInputStream din) throws IOException
IOException
Copyright © 2008–2019 The Apache Software Foundation. All rights reserved.