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, setSearchBaseDn
addTransports, getDatagramAcceptor, getServiceId, getServiceName, getSocketAcceptor, getTransports, isEnabled, isStarted, setEnabled, setServiceId, setServiceName, setStarted, setTransports
public 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
ProtocolService
IOException
- if we cannot bind to the socketsorg.apache.directory.api.ldap.model.exception.LdapInvalidDnException
public void stop()
ProtocolService
public int getTcpPort()
public KerberosConfig getConfig()
public ChangePasswordServer getChangePwdServer()
public void setChangePwdServer(ChangePasswordServer changePwdServer)
public String toString()
toString
in class Object
Object.toString()
Copyright © 2003-2014 The Apache Software Foundation. All Rights Reserved.