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.
|
static String[] |
ENCRYPTION_TYPES_DEFAULT
The default encryption types.
|
transports| Constructor and Description |
|---|
ChangePasswordServer()
Creates a new instance of ChangePasswordConfiguration.
|
| Modifier and Type | Method and Description |
|---|---|
long |
getAllowableClockSkew()
Returns the allowable clock skew.
|
int |
getCategoryCountPolicy()
Returns the category count.
|
EncryptionType[] |
getEncryptionTypes()
Returns the encryption types.
|
int |
getPasswordLengthPolicy()
Returns the password length.
|
String |
getPrimaryRealm()
Returns the primary realm.
|
KerberosPrincipal |
getServicePrincipal()
Returns the Change Password service principal.
|
int |
getTokenSizePolicy()
Returns the token size.
|
boolean |
isEmptyAddressesAllowed()
Returns whether empty addresses are allowed.
|
void |
setAllowableClockSkew(long allowableClockSkew) |
void |
setEmptyAddressesAllowed(boolean isEmptyAddressesAllowed) |
void |
setEncryptionTypes(EncryptionType[] encryptionTypes) |
void |
setPolicyCategoryCount(int policyCategoryCount)
Sets the policy category count - what's this?
|
void |
setPolicyPasswordLength(int policyPasswordLength)
Sets the policy's minimum?? password length.
|
void |
setPolicyTokenSize(int policyTokenSize)
Sets the policy token size - what's this?
|
void |
setPrimaryRealm(String primaryRealm) |
void |
setServicePrincipal(String servicePrincipal) |
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() |
getSearchBaseDn, isCatelogBased, setCatelogBased, setSearchBaseDnaddTransports, getDatagramAcceptor, getDirectoryService, getServiceId, getServiceName, getSocketAcceptor, getTransports, isEnabled, isStarted, setDirectoryService, setEnabled, setServiceId, setServiceName, setStarted, setTransportspublic static final String[] ENCRYPTION_TYPES_DEFAULT
public static final int DEFAULT_PASSWORD_LENGTH
public static final int DEFAULT_CATEGORY_COUNT
public static final int DEFAULT_TOKEN_SIZE
public ChangePasswordServer()
public String getPrimaryRealm()
public void setPrimaryRealm(String primaryRealm)
primaryRealm - The primaryRealm to set.public EncryptionType[] getEncryptionTypes()
public void setEncryptionTypes(EncryptionType[] encryptionTypes)
encryptionTypes - The encryptionTypes to set.public long getAllowableClockSkew()
public void setAllowableClockSkew(long allowableClockSkew)
allowableClockSkew - The allowableClockSkew to set.public KerberosPrincipal getServicePrincipal()
public void setServicePrincipal(String servicePrincipal)
servicePrincipal - The Change Password service principal to set.public boolean isEmptyAddressesAllowed()
public void setEmptyAddressesAllowed(boolean isEmptyAddressesAllowed)
isEmptyAddressesAllowed - The isEmptyAddressesAllowed to set.public int getPasswordLengthPolicy()
public int getCategoryCountPolicy()
public int getTokenSizePolicy()
public void start()
throws IOException,
org.apache.directory.shared.ldap.exception.LdapInvalidDnException
ProtocolServiceIOException - if we cannot bind to the specified portsorg.apache.directory.shared.ldap.exception.LdapInvalidDnExceptionpublic void stop()
ProtocolServicepublic void setPolicyPasswordLength(int policyPasswordLength)
policyPasswordLength - the minimum password length requirementpublic void setPolicyCategoryCount(int policyCategoryCount)
policyCategoryCount - the policy category countpublic void setPolicyTokenSize(int policyTokenSize)
policyTokenSize - the policy token sizepublic String toString()
toString in class ObjectObject.toString()Copyright © 2003-2012 Apache Software Foundation. All Rights Reserved.