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
-
-
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 String
getKdcHost()
Gets the KDC host.int
getKdcPort()
Gets the KDC port.String
getKrb5ConfFilePath()
Gets the (absolute) path to the 'krb5.conf' file.String
getLoginContextName()
Gets the name for theLoginContext
object.Configuration
getLoginModuleConfiguration()
Gets theConfiguration
object for Login Module.void
setKdcHost(String kdcHost)
Sets the KDC host.void
setKdcPort(int kdcPort)
Sets the KDC port.void
setKrb5ConfFilePath(String krb5ConfFilePath)
Sets the (absolute) path to the 'krb5.conf' file.void
setLoginContextName(String loginContextName)
Sets the name for theLoginContext
object.void
setLoginModuleConfiguration(Configuration loginModuleConfiguration)
Sets theConfiguration
object for Login Module.void
setRealmName(String realmName)
-
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, setSecurityStrength, setUsername
-
-
-
-
Constructor Detail
-
SaslGssApiRequest
public SaslGssApiRequest()
Creates a new instance of SaslGssApiRequest.
-
-
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 theLoginContext
object.- Returns:
- the name for the
LoginContext
object
-
getLoginModuleConfiguration
public Configuration getLoginModuleConfiguration()
Gets theConfiguration
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 theLoginContext
object.- Parameters:
loginContextName
- the name for theLoginContext
object
-
setLoginModuleConfiguration
public void setLoginModuleConfiguration(Configuration loginModuleConfiguration)
Sets theConfiguration
object for Login Module.- Parameters:
loginModuleConfiguration
- theConfiguration
object for Login Module
-
setRealmName
public void setRealmName(String realmName)
-
-