public class ChangePasswordServer extends DirectoryBackedService
Modifier and Type | Field and Description |
---|---|
static int |
DEFAULT_CATEGORY_COUNT
The default change password password policy for category count.
|
static int |
DEFAULT_PASSWORD_LENGTH
The default change password password policy for password length.
|
static int |
DEFAULT_TOKEN_SIZE
The default change password password policy for token size.
|
transports
Constructor and Description |
---|
ChangePasswordServer()
Creates a new instance of ChangePasswordConfiguration.
|
ChangePasswordServer(ChangePasswordConfig config) |
Modifier and Type | Method and Description |
---|---|
ChangePasswordConfig |
getConfig() |
ReplayCache |
getReplayCache() |
int |
getTcpPort() |
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 static final int DEFAULT_PASSWORD_LENGTH
public static final int DEFAULT_CATEGORY_COUNT
public static final int DEFAULT_TOKEN_SIZE
public ChangePasswordServer()
public ChangePasswordServer(ChangePasswordConfig config)
public void start() throws IOException, org.apache.directory.api.ldap.model.exception.LdapInvalidDnException
ProtocolService
IOException
- if we cannot bind to the specified portsorg.apache.directory.api.ldap.model.exception.LdapInvalidDnException
public void stop()
ProtocolService
public ReplayCache getReplayCache()
public ChangePasswordConfig getConfig()
public int getTcpPort()
public String toString()
toString
in class Object
Object.toString()
Copyright © 2003–2020 The Apache Software Foundation. All rights reserved.