public class KdcConfig
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
private java.util.Set<EncryptionType> |
encryptionTypes
the set of encryption types that the client can support, by default this includes all the encryption types supported by ApacheDS
|
private java.lang.String |
hostName
host name of the Kerberos server
|
private int |
kdcPort
port on which the Kerberos server is listening
|
private int |
passwdPort
port on which the change password server is listening
|
private int |
timeout
the timeout of the connection to the Kerberos server
|
private boolean |
useLegacyChngPwdProtocol
flag to indicate if legacy protocol version 1 should be used while sending the change password request.
|
private boolean |
useUdp
flag to indicate if the client should use UDP while connecting to Kerberos server
|
| Constructor and Description |
|---|
KdcConfig() |
| Modifier and Type | Method and Description |
|---|---|
static KdcConfig |
getDefaultConfig() |
java.util.Set<EncryptionType> |
getEncryptionTypes() |
java.lang.String |
getHostName() |
int |
getKdcPort() |
int |
getPasswdPort() |
int |
getTimeout() |
boolean |
isUseLegacyChngPwdProtocol() |
boolean |
isUseUdp() |
void |
setEncryptionTypes(java.util.Set<EncryptionType> encryptionTypes) |
void |
setHostName(java.lang.String hostName) |
void |
setKdcPort(int kdcPort) |
void |
setPasswdPort(int passwdPort) |
void |
setTimeout(int timeout) |
void |
setUseLegacyChngPwdProtocol(boolean useLegacyChngPwdProtocol) |
void |
setUseUdp(boolean useUdp) |
java.lang.String |
toString() |
private java.lang.String hostName
private int kdcPort
private int passwdPort
private boolean useUdp
private boolean useLegacyChngPwdProtocol
private int timeout
private java.util.Set<EncryptionType> encryptionTypes
public static KdcConfig getDefaultConfig()
public java.lang.String getHostName()
public void setHostName(java.lang.String hostName)
public int getKdcPort()
public void setKdcPort(int kdcPort)
public int getPasswdPort()
public void setPasswdPort(int passwdPort)
public boolean isUseUdp()
public void setUseUdp(boolean useUdp)
public boolean isUseLegacyChngPwdProtocol()
public void setUseLegacyChngPwdProtocol(boolean useLegacyChngPwdProtocol)
public int getTimeout()
public void setTimeout(int timeout)
public java.util.Set<EncryptionType> getEncryptionTypes()
public void setEncryptionTypes(java.util.Set<EncryptionType> encryptionTypes)
public java.lang.String toString()
toString in class java.lang.Object