| | |
| | | import org.opends.server.admin.std.server.AttributeValuePasswordValidatorCfg; |
| | | import org.opends.server.admin.std.server.PasswordValidatorCfg; |
| | | import org.opends.server.api.PasswordValidator; |
| | | import org.opends.server.types.Attribute; |
| | | import org.opends.server.types.AttributeType; |
| | | import org.opends.server.types.AttributeValue; |
| | | import org.opends.server.types.ConfigChangeResult; |
| | | import org.opends.server.types.ByteString; |
| | | import org.opends.server.types.Entry; |
| | | import org.opends.server.types.Operation; |
| | | import org.opends.server.types.ResultCode; |
| | | import org.opends.server.types.*; |
| | | |
| | | import static org.opends.messages.ExtensionMessages.*; |
| | | import org.opends.messages.MessageBuilder; |
| | |
| | | |
| | | // Get the string representation (both forward and reversed) for the |
| | | // password. |
| | | String password = newPassword.stringValue(); |
| | | String password = newPassword.toString(); |
| | | String reversed = new StringBuilder(password).reverse().toString(); |
| | | |
| | | |
| | |
| | | continue; |
| | | } |
| | | |
| | | AttributeValue vf = new AttributeValue(t, password); |
| | | AttributeValue vr = new AttributeValue(t, reversed); |
| | | AttributeValue vf = AttributeValues.create(t, password); |
| | | AttributeValue vr = AttributeValues.create(t, reversed); |
| | | |
| | | for (Attribute a : attrList) |
| | | { |