Class GssApiBindRequest

All Implemented Interfaces:
CallbackHandler

public class GssApiBindRequest extends DefaultSaslClientRequest
LDAP GSSAPI bind request.
  • Field Details

    • 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:
    • JAAS_NAME_PROPERTY

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

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

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

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

      private static final String DEFAULT_GSSAPI_LOGIN_MODULE
      Default login module for GSSAPI.
      See Also:
    • 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.
    • invokeOnce

      private final AtomicBoolean invokeOnce
      Boolean that ensures the GssApiSaslClient is only returned on the first request.
  • Constructor Details

    • 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
  • Method Details