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, setSearchBaseDnaddTransports, getDatagramAcceptor, getServiceId, getServiceName, getSocketAcceptor, getTransports, isEnabled, isStarted, setEnabled, setServiceId, setServiceName, setStarted, setTransportspublic 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
ProtocolServiceIOException - if we cannot bind to the specified portsorg.apache.directory.api.ldap.model.exception.LdapInvalidDnExceptionpublic void stop()
ProtocolServicepublic ReplayCache getReplayCache()
public ChangePasswordConfig getConfig()
public int getTcpPort()
public String toString()
toString in class ObjectObject.toString()Copyright © 2021. All rights reserved.