org.apache.directory.server.changepw
Class ChangePasswordConfiguration
java.lang.Object
org.apache.directory.server.core.configuration.Configuration
org.apache.directory.server.protocol.shared.ServiceConfiguration
org.apache.directory.server.changepw.ChangePasswordConfiguration
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Cloneable
public class ChangePasswordConfiguration
- extends ServiceConfiguration
- See Also:
- Serialized Form
Fields inherited from class org.apache.directory.server.protocol.shared.ServiceConfiguration |
APACHE_FACTORY_PID_KEY, APACHE_SERVICE_CONFIGURATION, APACHE_SERVICE_PID_KEY, BUFFER_SIZE_KEY, CATALOG_BASEDN_KEY, configuration, DEFAULT_BUFFER_SIZE, DEFAULT_ENTRY_BASEDN, DEFAULT_INITIAL_CONTEXT_FACTORY, ENTRY_BASEDN_KEY, INITIAL_CONTEXT_FACTORY_KEY, IP_ADDRESS_KEY, IP_PORT_KEY, MINUTE, SERVICE_FACTORYPID, SERVICE_PID |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DEFAULT_ENCRYPTION_TYPES
public static final java.lang.String[] DEFAULT_ENCRYPTION_TYPES
- the default encryption types
PASSWORD_LENGTH_KEY
public static final java.lang.String PASSWORD_LENGTH_KEY
- the prop key constants for password policy
- See Also:
- Constant Field Values
CATEGORY_COUNT_KEY
public static final java.lang.String CATEGORY_COUNT_KEY
- See Also:
- Constant Field Values
TOKEN_SIZE_KEY
public static final java.lang.String TOKEN_SIZE_KEY
- See Also:
- Constant Field Values
DEFAULT_PASSWORD_LENGTH
public static final int DEFAULT_PASSWORD_LENGTH
- the default change password password policies
- See Also:
- Constant Field Values
DEFAULT_CATEGORY_COUNT
public static final int DEFAULT_CATEGORY_COUNT
- See Also:
- Constant Field Values
DEFAULT_TOKEN_SIZE
public static final int DEFAULT_TOKEN_SIZE
- See Also:
- Constant Field Values
ChangePasswordConfiguration
public ChangePasswordConfiguration()
- Creates a new instance with default settings.
ChangePasswordConfiguration
public ChangePasswordConfiguration(java.lang.String instanceId)
- Creates a new instance with default settings that operates on the
DirectoryService
with the specified ID.
ChangePasswordConfiguration
public ChangePasswordConfiguration(java.util.Map properties)
ChangePasswordConfiguration
public ChangePasswordConfiguration(java.util.Map properties,
int strategy)
getDefaultConfig
public static java.util.Map getDefaultConfig()
isDifferent
public boolean isDifferent(java.util.Dictionary config)
getName
public java.lang.String getName()
getPort
public int getPort()
getPrimaryRealm
public java.lang.String getPrimaryRealm()
getEncryptionTypes
public EncryptionType[] getEncryptionTypes()
getProperties
public java.util.Map getProperties()
getClockSkew
public long getClockSkew()
getBufferSize
public int getBufferSize()
getChangepwPrincipal
public javax.security.auth.kerberos.KerberosPrincipal getChangepwPrincipal()
isEmptyAddressesAllowed
public boolean isEmptyAddressesAllowed()
getPasswordLengthPolicy
public int getPasswordLengthPolicy()
getCategoryCountPolicy
public int getCategoryCountPolicy()
getTokenSizePolicy
public int getTokenSizePolicy()
Copyright © 2003-2010 Apache Software Foundation. All Rights Reserved.