org.apache.directory.ldap.client.api
Class GssApiRequest

java.lang.Object
  extended by org.apache.directory.ldap.client.api.SaslRequest
      extended by org.apache.directory.ldap.client.api.GssApiRequest

public class GssApiRequest
extends SaslRequest

Holds the data required to complete the GSS-API SASL operation

Author:
Apache Directory Project

Field Summary
protected  String kdcHost
          The KDC host
protected  int kdcPort
          The KDC port
protected  String krb5ConfFilePath
          The krb5.conf file absolute path
protected  String loginContextName
          The name for the LoginContext object
protected  Configuration loginModuleConfiguration
          The Configuration object for LoginModule
 
Fields inherited from class org.apache.directory.ldap.client.api.SaslRequest
authorizationId, controls, credentials, mutualAuthentication, qualityOfProtection, realmName, saslMechanism, securityStrength, username
 
Constructor Summary
GssApiRequest()
          Creates a new instance of GssApiRequest.
 
Method Summary
 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 the LoginContext object.
 Configuration getLoginModuleConfiguration()
          Gets the Configuration 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 the LoginContext object.
 void setLoginModuleConfiguration(Configuration loginModuleConfiguration)
          Sets the Configuration object for Login Module.
 void setRealmName(String realmName)
          Sets the realm name.
 
Methods inherited from class org.apache.directory.ldap.client.api.SaslRequest
addAllControls, addControl, getAuthorizationId, getControls, getCredentials, getQualityOfProtection, getRealmName, getSaslMechanism, getSecurityStrength, getUsername, isMutualAuthentication, setAuthorizationId, setCredentials, setCredentials, setMutualAuthentication, setQualityOfProtection, setSaslMechanism, setSecurityStrength, setUsername
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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 the LoginContext object


loginModuleConfiguration

protected Configuration loginModuleConfiguration
The Configuration object for LoginModule

Constructor Detail

GssApiRequest

public GssApiRequest()
Creates a new instance of GssApiRequest.

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 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 SaslRequest
Parameters:
realmName - The realm name


Copyright © 2009-2013 The Apache Software Foundation. All Rights Reserved.