Class GssApiBindRequest

  • All Implemented Interfaces:
    javax.security.auth.callback.CallbackHandler

    public class GssApiBindRequest
    extends DefaultSaslClientRequest
    LDAP GSSAPI bind request.
    Author:
    Middleware Services
    • Field Detail

      • JAAS_NAME_PROPERTY

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

        public static final java.lang.String JAAS_REFRESH_CONFIG_PROPERTY
        Property for JAAS refreshConfig.
        See Also:
        Constant Field Values
    • Constructor Detail

      • GssApiBindRequest

        public GssApiBindRequest​(java.lang.String authID,
                                 java.lang.String authzID,
                                 java.lang.String pass,
                                 java.lang.String realm,
                                 java.util.Map<java.lang.String,​java.lang.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 Detail

      • handle

        public void handle​(javax.security.auth.callback.Callback[] callbacks)
                    throws javax.security.auth.callback.UnsupportedCallbackException
        Throws:
        javax.security.auth.callback.UnsupportedCallbackException
      • getJaasName

        public java.lang.String getJaasName()
        Returns the entry name in a JAAS configuration file.
        Returns:
        JAAS configuration name
      • getJaasRefreshConfig

        public boolean getJaasRefreshConfig()
        Returns whether to refresh the JAAS configuration prior to use. See Configuration.refresh().
        Returns:
        whether to refresh the JAAS config
      • getJaasLoginModule

        public java.lang.String getJaasLoginModule()
        Returns the class name of the JAAS login module.
        Returns:
        JAAS login module class name
      • getJaasOptions

        public java.util.Map<java.lang.String,​?> getJaasOptions()
        Returns the JAAS options for the login module.
        Returns:
        JAAS options