Package org.apache.bookkeeper.sasl
Class SaslConstants
- java.lang.Object
-
- org.apache.bookkeeper.sasl.SaslConstants
-
public class SaslConstants extends java.lang.Object
SASL Constants.
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
JAAS_AUDITOR_SECTION_NAME
static java.lang.String
JAAS_BOOKIE_SECTION_NAME
static java.lang.String
JAAS_CLIENT_ALLOWED_IDS
This is a regexp which limits the range of possible ids which can connect to the Bookie using SASL.static java.lang.String
JAAS_CLIENT_ALLOWED_IDS_DEFAULT
static java.lang.String
JAAS_CLIENT_SECTION_NAME
static java.lang.String
JAAS_DEFAULT_AUDITOR_SECTION_NAME
static java.lang.String
JAAS_DEFAULT_BOOKIE_SECTION_NAME
static java.lang.String
JAAS_DEFAULT_CLIENT_SECTION_NAME
(package private) static java.lang.String
KINIT_COMMAND
(package private) static java.lang.String
KINIT_COMMAND_DEFAULT
(package private) static java.lang.String
PLUGIN_NAME
(package private) static java.lang.String
SASL_BOOKKEEPER_PROTOCOL
(package private) static java.lang.String
SASL_BOOKKEEPER_REALM
(package private) static java.lang.String
SASL_MD5_DUMMY_HOSTNAME
(package private) static java.lang.String
SASL_SERVICE_NAME
(package private) static java.lang.String
SASL_SERVICE_NAME_DEFAULT
-
Constructor Summary
Constructors Constructor Description SaslConstants()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description (package private) static java.lang.String
getPrincipal(java.lang.String configurationEntry)
(package private) static boolean
isUsingTicketCache(java.lang.String configurationEntry)
-
-
-
Field Detail
-
PLUGIN_NAME
static final java.lang.String PLUGIN_NAME
- See Also:
- Constant Field Values
-
JAAS_BOOKIE_SECTION_NAME
public static final java.lang.String JAAS_BOOKIE_SECTION_NAME
- See Also:
- Constant Field Values
-
JAAS_DEFAULT_BOOKIE_SECTION_NAME
public static final java.lang.String JAAS_DEFAULT_BOOKIE_SECTION_NAME
- See Also:
- Constant Field Values
-
JAAS_AUDITOR_SECTION_NAME
public static final java.lang.String JAAS_AUDITOR_SECTION_NAME
- See Also:
- Constant Field Values
-
JAAS_DEFAULT_AUDITOR_SECTION_NAME
public static final java.lang.String JAAS_DEFAULT_AUDITOR_SECTION_NAME
- See Also:
- Constant Field Values
-
JAAS_CLIENT_SECTION_NAME
public static final java.lang.String JAAS_CLIENT_SECTION_NAME
- See Also:
- Constant Field Values
-
JAAS_DEFAULT_CLIENT_SECTION_NAME
public static final java.lang.String JAAS_DEFAULT_CLIENT_SECTION_NAME
- See Also:
- Constant Field Values
-
JAAS_CLIENT_ALLOWED_IDS
public static final java.lang.String JAAS_CLIENT_ALLOWED_IDS
This is a regexp which limits the range of possible ids which can connect to the Bookie using SASL. By default only clients whose id contains the word 'bookkeeper' are allowed to connect.- See Also:
- Constant Field Values
-
JAAS_CLIENT_ALLOWED_IDS_DEFAULT
public static final java.lang.String JAAS_CLIENT_ALLOWED_IDS_DEFAULT
- See Also:
- Constant Field Values
-
KINIT_COMMAND_DEFAULT
static final java.lang.String KINIT_COMMAND_DEFAULT
- See Also:
- Constant Field Values
-
KINIT_COMMAND
static final java.lang.String KINIT_COMMAND
- See Also:
- Constant Field Values
-
SASL_BOOKKEEPER_PROTOCOL
static final java.lang.String SASL_BOOKKEEPER_PROTOCOL
- See Also:
- Constant Field Values
-
SASL_BOOKKEEPER_REALM
static final java.lang.String SASL_BOOKKEEPER_REALM
- See Also:
- Constant Field Values
-
SASL_SERVICE_NAME
static final java.lang.String SASL_SERVICE_NAME
- See Also:
- Constant Field Values
-
SASL_SERVICE_NAME_DEFAULT
static final java.lang.String SASL_SERVICE_NAME_DEFAULT
- See Also:
- Constant Field Values
-
SASL_MD5_DUMMY_HOSTNAME
static final java.lang.String SASL_MD5_DUMMY_HOSTNAME
- See Also:
- Constant Field Values
-
-