| | |
| | | |
| | | |
| | | |
| | | // The attribute type used to specify the password policy for an entry. |
| | | /** The attribute type used to specify the password policy for an entry. */ |
| | | private AttributeType customPolicyAttribute; |
| | | |
| | | // The set of attribute types defined in the schema with the auth password |
| | | // syntax. |
| | | /** |
| | | * The set of attribute types defined in the schema with the auth password |
| | | * syntax. |
| | | */ |
| | | private AttributeType[] authPasswordTypes; |
| | | |
| | | // The set of attribute types defined in the schema with the user password |
| | | // syntax. |
| | | /** |
| | | * The set of attribute types defined in the schema with the user password |
| | | * syntax. |
| | | */ |
| | | private AttributeType[] userPasswordTypes; |
| | | |
| | | // The set of password storage schemes to use for the various password |
| | | // policies defined in the server. |
| | | /** |
| | | * The set of password storage schemes to use for the various password |
| | | * policies defined in the server. |
| | | */ |
| | | private HashMap<DN,PasswordStorageScheme<?>[]> schemesByPolicy; |
| | | |
| | | // The default password storage schemes for auth password attributes. |
| | | /** The default password storage schemes for auth password attributes. */ |
| | | private PasswordStorageScheme<?>[] defaultAuthPasswordSchemes; |
| | | |
| | | // The default password storage schemes for user password attributes. |
| | | /** The default password storage schemes for user password attributes. */ |
| | | private PasswordStorageScheme<?>[] defaultUserPasswordSchemes; |
| | | |
| | | |
| | |
| | | |
| | | |
| | | |
| | | /** |
| | | * {@inheritDoc} |
| | | */ |
| | | /** {@inheritDoc} */ |
| | | @Override |
| | | public final void initializePlugin(Set<PluginType> pluginTypes, |
| | | PasswordPolicyImportPluginCfg configuration) |
| | |
| | | |
| | | |
| | | |
| | | /** |
| | | * {@inheritDoc} |
| | | */ |
| | | /** {@inheritDoc} */ |
| | | public void processImportBegin(Backend backend, LDIFImportConfig config) |
| | | { |
| | | // Find the set of attribute types with the auth password and user password |
| | |
| | | |
| | | |
| | | |
| | | /** |
| | | * {@inheritDoc} |
| | | */ |
| | | /** {@inheritDoc} */ |
| | | public void processImportEnd(Backend backend, LDIFImportConfig config, |
| | | boolean successful) |
| | | { |
| | |
| | | |
| | | |
| | | |
| | | /** |
| | | * {@inheritDoc} |
| | | */ |
| | | /** {@inheritDoc} */ |
| | | @Override |
| | | public final PluginResult.ImportLDIF |
| | | doLDIFImport(LDIFImportConfig importConfig, Entry entry) |
| | |
| | | |
| | | |
| | | |
| | | /** |
| | | * {@inheritDoc} |
| | | */ |
| | | /** {@inheritDoc} */ |
| | | @Override |
| | | public boolean isConfigurationAcceptable(PluginCfg configuration, |
| | | List<LocalizableMessage> unacceptableReasons) |
| | |
| | | |
| | | |
| | | |
| | | /** |
| | | * {@inheritDoc} |
| | | */ |
| | | /** {@inheritDoc} */ |
| | | public boolean isConfigurationChangeAcceptable( |
| | | PasswordPolicyImportPluginCfg configuration, |
| | | List<LocalizableMessage> unacceptableReasons) |
| | |
| | | |
| | | |
| | | |
| | | /** |
| | | * {@inheritDoc} |
| | | */ |
| | | /** {@inheritDoc} */ |
| | | public ConfigChangeResult applyConfigurationChange( |
| | | PasswordPolicyImportPluginCfg configuration) |
| | | { |