Class GssApiBindRequest

    • Field Detail

      • MECHANISM

        private static final Mechanism MECHANISM
        GSSAPI SASL mechanism.
      • JAAS_OPTIONS_PROPERTY_PREFIX

        private static final String JAAS_OPTIONS_PROPERTY_PREFIX
        SASL property to control the JAAS configuration name.
        See Also:
        Constant Field Values
      • JAAS_NAME_PROPERTY

        public static final String JAAS_NAME_PROPERTY
        Property for the JAAS entry name from a configuration file.
        See Also:
        Constant Field Values
      • DEFAULT_GSSAPI_JAAS_NAME

        private static final String DEFAULT_GSSAPI_JAAS_NAME
        Default name of the JAAS configuration.
        See Also:
        Constant Field Values
      • JAAS_REFRESH_CONFIG_PROPERTY

        public static final String JAAS_REFRESH_CONFIG_PROPERTY
        Property for JAAS refreshConfig.
        See Also:
        Constant Field Values
      • JAAS_LOGIN_MODULE_PROPERTY

        private static final String JAAS_LOGIN_MODULE_PROPERTY
        Property for the login module class name for GSSAPI.
        See Also:
        Constant Field Values
      • DEFAULT_GSSAPI_LOGIN_MODULE

        private static final String DEFAULT_GSSAPI_LOGIN_MODULE
        Default login module for GSSAPI.
        See Also:
        Constant Field Values
      • authenticationID

        private final String authenticationID
        Authentication ID.
      • authorizationID

        private final String authorizationID
        Authorization ID.
      • saslRealm

        private final String saslRealm
        Realm.
      • saslProperties

        private final Map<String,​?> saslProperties
        SASL client properties.
      • jaasName

        private final String jaasName
        Name of the JAAS configuration.
      • jaasRefreshConfig

        private final boolean jaasRefreshConfig
        Whether to refresh the JAAS configuration prior to use. See Configuration.refresh().
      • jaasLoginModule

        private final String jaasLoginModule
        Class name of the JAAS login module to use for GSSAPI.
      • jaasOptions

        private final Map<String,​?> jaasOptions
        Options set on the JAAS login module.
      • password

        private final String password
        Password.
    • Constructor Detail

      • GssApiBindRequest

        public GssApiBindRequest​(String authID,
                                 String authzID,
                                 String pass,
                                 String realm,
                                 Map<String,​Object> props)
        Creates a new GSSAPI bind request.
        Parameters:
        authID - to bind as
        authzID - authorization ID
        pass - password to bind with
        realm - SASL realm
        props - SASL client properties