Class SaslGssApiRequest

java.lang.Object
org.apache.directory.ldap.client.api.AbstractSaslRequest
org.apache.directory.ldap.client.api.SaslGssApiRequest
All Implemented Interfaces:
SaslRequest

public class SaslGssApiRequest extends AbstractSaslRequest
Holds the data required to complete the GSS-API SASL operation
Author:
Apache Directory Project
  • Field Details

    • kdcHost

      protected String kdcHost
      The KDC host
    • kdcPort

      protected int kdcPort
      The KDC port
    • krb5ConfFilePath

      protected String krb5ConfFilePath
      The krb5.conf file absolute path
    • loginContextName

      protected String loginContextName
      The name for the LoginContext object
    • loginModuleConfiguration

      protected Configuration loginModuleConfiguration
      The Configuration object for LoginModule
  • Constructor Details

    • SaslGssApiRequest

      public SaslGssApiRequest()
      Creates a new instance of SaslGssApiRequest.
  • Method Details

    • getKdcHost

      public String getKdcHost()
      Gets the KDC host.
      Returns:
      the KDC host
    • getKdcPort

      public int getKdcPort()
      Gets the KDC port.
      Returns:
      the KDC port
    • getKrb5ConfFilePath

      public String getKrb5ConfFilePath()
      Gets the (absolute) path to the 'krb5.conf' file.
      Returns:
      the (absolute) path to the 'krb5.conf' file
    • getLoginContextName

      public String getLoginContextName()
      Gets the name for the LoginContext object.
      Returns:
      the name for the LoginContext object
    • getLoginModuleConfiguration

      public Configuration getLoginModuleConfiguration()
      Gets the Configuration object for Login Module.
      Returns:
      the Configuration object for Login Module
    • setKdcHost

      public void setKdcHost(String kdcHost)
      Sets the KDC host.
      Parameters:
      kdcHost - the KDC host
    • setKdcPort

      public void setKdcPort(int kdcPort)
      Sets the KDC port.
      Parameters:
      kdcPort - the KDC port
    • setKrb5ConfFilePath

      public void setKrb5ConfFilePath(String krb5ConfFilePath)
      Sets the (absolute) path to the 'krb5.conf' file.
      Parameters:
      krb5ConfFilePath - the (absolute) path to the 'krb5.conf' file
    • setLoginContextName

      public void setLoginContextName(String loginContextName)
      Sets the name for the LoginContext object.
      Parameters:
      loginContextName - the name for the LoginContext object
    • setLoginModuleConfiguration

      public void setLoginModuleConfiguration(Configuration loginModuleConfiguration)
      Sets the Configuration object for Login Module.
      Parameters:
      loginModuleConfiguration - the Configuration object for Login Module
    • setRealmName

      public void setRealmName(String realmName)
      Sets the realm name.
      Overrides:
      setRealmName in class AbstractSaslRequest
      Parameters:
      realmName - The realm name