| | |
| | | import java.util.Set; |
| | | import java.util.concurrent.CopyOnWriteArrayList; |
| | | |
| | | import org.opends.server.admin.std.server.PluginCfg; |
| | | import org.opends.server.api.PasswordStorageScheme; |
| | | import org.opends.server.api.plugin.DirectoryServerPlugin; |
| | | import org.opends.server.api.plugin.LDIFPluginResult; |
| | | import org.opends.server.api.plugin.PluginType; |
| | | import org.opends.server.config.ConfigEntry; |
| | | import org.opends.server.config.ConfigException; |
| | | import org.opends.server.core.DirectoryServer; |
| | | import org.opends.server.core.PasswordPolicy; |
| | |
| | | * that all of the password values are properly encoded before they are stored. |
| | | */ |
| | | public final class PasswordPolicyImportPlugin |
| | | extends DirectoryServerPlugin |
| | | extends DirectoryServerPlugin<PluginCfg> |
| | | { |
| | | |
| | | |
| | | |
| | | // The sets of password storage schemes for the auth password attributes. |
| | | private final HashMap<AttributeType,PasswordStorageScheme[]> |
| | | authPasswordSchemes; |
| | |
| | | super(); |
| | | |
| | | |
| | | |
| | | // Get the password policies from the Directory Server configuration. This |
| | | // is done in the constructor to allow the instance variables to be declared |
| | | // "final". |
| | |
| | | */ |
| | | @Override() |
| | | public final void initializePlugin(Set<PluginType> pluginTypes, |
| | | ConfigEntry configEntry) |
| | | PluginCfg configuration) |
| | | throws ConfigException |
| | | { |
| | | // Make sure that the plugin has been enabled for the appropriate types. |