public class KdcServer extends DirectoryBackedService
| Modifier and Type | Field and Description |
|---|---|
private ChangePasswordServer |
changePwdServer |
private KerberosConfig |
config |
private static org.slf4j.Logger |
LOG
logger for this class
|
private ReplayCache |
replayCache
the cache used for storing AS and TGS requests
|
private static long |
serialVersionUID |
private static java.lang.String |
SERVICE_NAME
The default kdc service name
|
transports| Constructor and Description |
|---|
KdcServer()
Creates a new instance of KdcServer with the default configuration.
|
KdcServer(KerberosConfig config)
Creates a new instance of KdcServer with the given config.
|
| Modifier and Type | Method and Description |
|---|---|
ChangePasswordServer |
getChangePwdServer() |
KerberosConfig |
getConfig() |
ReplayCache |
getReplayCache() |
int |
getTcpPort()
gets the port number on which TCP transport is running
|
void |
setChangePwdServer(ChangePasswordServer changePwdServer) |
void |
start()
Starts this ProtocolService which binds acceptors on the protocol port.
|
void |
stop()
Stops this ProtocolService which unbinds acceptors on the protocol port.
|
java.lang.String |
toString() |
getDirectoryService, getSearchBaseDn, isCatelogBased, setCatelogBased, setDirectoryService, setSearchBaseDnaddTransports, getDatagramAcceptor, getServiceId, getServiceName, getSocketAcceptor, getTransports, isEnabled, isStarted, setEnabled, setServiceId, setServiceName, setStarted, setTransportsprivate static final long serialVersionUID
private static final org.slf4j.Logger LOG
private static final java.lang.String SERVICE_NAME
private ReplayCache replayCache
private KerberosConfig config
private ChangePasswordServer changePwdServer
public KdcServer()
public KdcServer(KerberosConfig config)
config - the kerberos server configurationpublic ReplayCache getReplayCache()
public void start()
throws java.io.IOException,
org.apache.directory.api.ldap.model.exception.LdapInvalidDnException
ProtocolServicejava.io.IOException - if we cannot bind to the socketsorg.apache.directory.api.ldap.model.exception.LdapInvalidDnExceptionpublic void stop()
ProtocolServicepublic int getTcpPort()
public KerberosConfig getConfig()
public ChangePasswordServer getChangePwdServer()
public void setChangePwdServer(ChangePasswordServer changePwdServer)
public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()