|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.opends.server.core.PasswordPolicyConfig
public class PasswordPolicyConfig
This class is the interface between the password policy configurable component and a password policy state object. When a password policy entry is added to the configuration, an instance of this class is created and registered to manage subsequent modification to that configuration entry, including valiadating any proposed modification and applying an accepted modification.
Constructor Summary | |
---|---|
PasswordPolicyConfig(PasswordPolicy policy)
Creates a new password policy configurable component to manage the provided password policy object. |
Method Summary | |
---|---|
ConfigChangeResult |
applyConfigurationChange(PasswordPolicyCfg configuration)
Applies the configuration changes to this change listener. |
PasswordPolicy |
getPolicy()
Retrieves the PasswordPolicy object representing the configuration entry managed by this object. |
boolean |
isConfigurationChangeAcceptable(PasswordPolicyCfg configuration,
java.util.List<Message> unacceptableReasons)
Indicates whether the proposed change to the configuration is acceptable to this change listener. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PasswordPolicyConfig(PasswordPolicy policy)
policy
- The password policy object this object will manage.Method Detail |
---|
public boolean isConfigurationChangeAcceptable(PasswordPolicyCfg configuration, java.util.List<Message> unacceptableReasons)
isConfigurationChangeAcceptable
in interface ConfigurationChangeListener<PasswordPolicyCfg>
configuration
- The new configuration containing the changes.unacceptableReasons
- A list that can be used to hold messages about why the
provided configuration is not acceptable.
true
if the proposed change is
acceptable, or false
if it is not.public ConfigChangeResult applyConfigurationChange(PasswordPolicyCfg configuration)
applyConfigurationChange
in interface ConfigurationChangeListener<PasswordPolicyCfg>
configuration
- The new configuration containing the changes.
public PasswordPolicy getPolicy()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |