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 Summary
Fields Modifier and Type Field Description protected StringkdcHostThe KDC hostprotected intkdcPortThe KDC portprotected Stringkrb5ConfFilePathThe krb5.conf file absolute pathprotected StringloginContextNameThe name for theLoginContextobjectprotected ConfigurationloginModuleConfigurationTheConfigurationobject for LoginModule-
Fields inherited from class org.apache.directory.ldap.client.api.AbstractSaslRequest
authorizationId, controls, credentials, mutualAuthentication, qualityOfProtection, realmName, saslMechanism, securityStrength, username
-
-
Constructor Summary
Constructors Constructor Description SaslGssApiRequest()Creates a new instance of SaslGssApiRequest.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetKdcHost()Gets the KDC host.intgetKdcPort()Gets the KDC port.StringgetKrb5ConfFilePath()Gets the (absolute) path to the 'krb5.conf' file.StringgetLoginContextName()Gets the name for theLoginContextobject.ConfigurationgetLoginModuleConfiguration()Gets theConfigurationobject for Login Module.voidsetKdcHost(String kdcHost)Sets the KDC host.voidsetKdcPort(int kdcPort)Sets the KDC port.voidsetKrb5ConfFilePath(String krb5ConfFilePath)Sets the (absolute) path to the 'krb5.conf' file.voidsetLoginContextName(String loginContextName)Sets the name for theLoginContextobject.voidsetLoginModuleConfiguration(Configuration loginModuleConfiguration)Sets theConfigurationobject for Login Module.voidsetRealmName(String realmName)Sets the realm name.-
Methods inherited from class org.apache.directory.ldap.client.api.AbstractSaslRequest
addAllControls, addControl, getAuthorizationId, getControls, getCredentials, getQualityOfProtection, getRealmName, getSaslMechanism, getSecurityStrength, getUsername, isMutualAuthentication, setAuthorizationId, setCredentials, setCredentials, setMutualAuthentication, setQualityOfProtection, setSaslMechanism, setSecurityStrength, setUsername
-
-
-
-
Field Detail
-
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 theLoginContextobject
-
loginModuleConfiguration
protected Configuration loginModuleConfiguration
TheConfigurationobject for LoginModule
-
-
Method Detail
-
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 theLoginContextobject.- Returns:
- the name for the
LoginContextobject
-
getLoginModuleConfiguration
public Configuration getLoginModuleConfiguration()
Gets theConfigurationobject for Login Module.- Returns:
- the
Configurationobject 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 theLoginContextobject.- Parameters:
loginContextName- the name for theLoginContextobject
-
setLoginModuleConfiguration
public void setLoginModuleConfiguration(Configuration loginModuleConfiguration)
Sets theConfigurationobject for Login Module.- Parameters:
loginModuleConfiguration- theConfigurationobject for Login Module
-
setRealmName
public void setRealmName(String realmName)
Sets the realm name.- Overrides:
setRealmNamein classAbstractSaslRequest- Parameters:
realmName- The realm name
-
-