Class SaslGssApiRequest
java.lang.Object
org.apache.directory.ldap.client.api.AbstractSaslRequest
org.apache.directory.ldap.client.api.SaslGssApiRequest
- All Implemented Interfaces:
SaslRequest
Holds the data required to complete the GSS-API SASL operation
- Author:
- Apache Directory Project
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected StringThe KDC hostprotected intThe KDC portprotected StringThe krb5.conf file absolute pathprotected StringThe name for theLoginContextobjectprotected ConfigurationTheConfigurationobject for LoginModuleFields inherited from class AbstractSaslRequest
authorizationId, controls, credentials, mutualAuthentication, qualityOfProtection, realmName, saslMechanism, securityStrength, username -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the KDC host.intGets the KDC port.Gets the (absolute) path to the 'krb5.conf' file.Gets the name for theLoginContextobject.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 AbstractSaslRequest
addAllControls, addControl, getAuthorizationId, getControls, getCredentials, getQualityOfProtection, getRealmName, getSaslMechanism, getSecurityStrength, getUsername, isMutualAuthentication, setAuthorizationId, setCredentials, setCredentials, setMutualAuthentication, setQualityOfProtection, setSaslMechanism, setSecurityStrength, setUsername
-
Field Details
-
kdcHost
The KDC host -
kdcPort
protected int kdcPortThe KDC port -
krb5ConfFilePath
The krb5.conf file absolute path -
loginContextName
The name for theLoginContextobject -
loginModuleConfiguration
TheConfigurationobject for LoginModule
-
-
Constructor Details
-
SaslGssApiRequest
public SaslGssApiRequest()Creates a new instance of SaslGssApiRequest.
-
-
Method Details
-
getKdcHost
-
getKdcPort
public int getKdcPort()Gets the KDC port.- Returns:
- the KDC port
-
getKrb5ConfFilePath
Gets the (absolute) path to the 'krb5.conf' file.- Returns:
- the (absolute) path to the 'krb5.conf' file
-
getLoginContextName
Gets the name for theLoginContextobject.- Returns:
- the name for the
LoginContextobject
-
getLoginModuleConfiguration
Gets theConfigurationobject for Login Module.- Returns:
- the
Configurationobject for Login Module
-
setKdcHost
-
setKdcPort
public void setKdcPort(int kdcPort) Sets the KDC port.- Parameters:
kdcPort- the KDC port
-
setKrb5ConfFilePath
Sets the (absolute) path to the 'krb5.conf' file.- Parameters:
krb5ConfFilePath- the (absolute) path to the 'krb5.conf' file
-
setLoginContextName
Sets the name for theLoginContextobject.- Parameters:
loginContextName- the name for theLoginContextobject
-
setLoginModuleConfiguration
Sets theConfigurationobject for Login Module.- Parameters:
loginModuleConfiguration- theConfigurationobject for Login Module
-
setRealmName
Sets the realm name.- Overrides:
setRealmNamein classAbstractSaslRequest- Parameters:
realmName- The realm name
-