Class SaslConstants


  • public class SaslConstants
    extends java.lang.Object
    SASL Constants.
    • Field Detail

      • 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
      • 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_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
    • Constructor Detail

      • SaslConstants

        public SaslConstants()
    • Method Detail

      • isUsingTicketCache

        static boolean isUsingTicketCache​(java.lang.String configurationEntry)
      • getPrincipal

        static java.lang.String getPrincipal​(java.lang.String configurationEntry)