public class SaslGssApiRequest extends SaslRequest
Modifier and Type | Field and Description |
---|---|
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 |
authorizationId, controls, credentials, mutualAuthentication, qualityOfProtection, realmName, saslMechanism, securityStrength, username
Constructor and Description |
---|
SaslGssApiRequest()
Creates a new instance of SaslGssApiRequest.
|
Modifier and Type | Method and 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 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.
|
addAllControls, addControl, getAuthorizationId, getControls, getCredentials, getQualityOfProtection, getRealmName, getSaslMechanism, getSecurityStrength, getUsername, isMutualAuthentication, setAuthorizationId, setCredentials, setCredentials, setMutualAuthentication, setQualityOfProtection, setSaslMechanism, setSecurityStrength, setUsername
protected int kdcPort
protected String krb5ConfFilePath
protected String loginContextName
LoginContext
objectprotected Configuration loginModuleConfiguration
Configuration
object for LoginModulepublic SaslGssApiRequest()
public String getKdcHost()
public int getKdcPort()
public String getKrb5ConfFilePath()
public String getLoginContextName()
LoginContext
object.LoginContext
objectpublic Configuration getLoginModuleConfiguration()
Configuration
object for Login Module.Configuration
object for Login Modulepublic void setKdcHost(String kdcHost)
kdcHost
- the KDC hostpublic void setKdcPort(int kdcPort)
kdcPort
- the KDC portpublic void setKrb5ConfFilePath(String krb5ConfFilePath)
krb5ConfFilePath
- the (absolute) path to the 'krb5.conf' filepublic void setLoginContextName(String loginContextName)
LoginContext
object.loginContextName
- the name for the LoginContext
objectpublic void setLoginModuleConfiguration(Configuration loginModuleConfiguration)
Configuration
object for Login Module.loginModuleConfiguration
- the Configuration
object for Login Modulepublic void setRealmName(String realmName)
setRealmName
in class SaslRequest
realmName
- The realm nameCopyright © 2003–2015 The Apache Software Foundation. All rights reserved.