| | |
| | | import org.opends.server.api.ImportTaskListener; |
| | | 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.api.plugin.PluginResult; |
| | | import org.opends.server.config.ConfigException; |
| | | import org.opends.server.core.DirectoryServer; |
| | | import org.opends.server.core.PasswordPolicy; |
| | |
| | | * {@inheritDoc} |
| | | */ |
| | | @Override() |
| | | public final LDIFPluginResult doLDIFImport(LDIFImportConfig importConfig, |
| | | Entry entry) |
| | | public final PluginResult.ImportLDIF |
| | | doLDIFImport(LDIFImportConfig importConfig, Entry entry) |
| | | { |
| | | // Create a list that we will use to hold new encoded values. |
| | | ArrayList<ByteString> encodedValueList = new ArrayList<ByteString>(); |
| | |
| | | attrList = entry.getAttribute(policy.getPasswordAttribute()); |
| | | if (attrList == null) |
| | | { |
| | | return LDIFPluginResult.SUCCESS; |
| | | return PluginResult.ImportLDIF.continueEntryProcessing(); |
| | | } |
| | | |
| | | for (Attribute a : attrList) |
| | |
| | | } |
| | | } |
| | | |
| | | return LDIFPluginResult.SUCCESS; |
| | | return PluginResult.ImportLDIF.continueEntryProcessing(); |
| | | } |
| | | } |
| | | } |
| | |
| | | } |
| | | |
| | | |
| | | return LDIFPluginResult.SUCCESS; |
| | | return PluginResult.ImportLDIF.continueEntryProcessing(); |
| | | } |
| | | |
| | | |