public class KdcServer extends DirectoryBackedService
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.
|
String |
toString() |
getDirectoryService, getSearchBaseDn, isCatelogBased, setCatelogBased, setDirectoryService, setSearchBaseDnaddTransports, getDatagramAcceptor, getServiceId, getServiceName, getSocketAcceptor, getTransports, isEnabled, isStarted, setEnabled, setServiceId, setServiceName, setStarted, setTransportspublic KdcServer()
public KdcServer(KerberosConfig config)
config - the kerberos server configurationpublic ReplayCache getReplayCache()
public void start()
throws IOException,
org.apache.directory.api.ldap.model.exception.LdapInvalidDnException
ProtocolServiceIOException - 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 String toString()
toString in class ObjectObject.toString()Copyright © 2021. All rights reserved.