}
// See if the password passes validation. We should only do this if
// validation should be performed for administrators.
if (! passwordPolicy.skipValidationForAdministrators())
{
// There are never any current passwords for an add operation.
HashSet<ByteString> currentPasswords = new HashSet<ByteString>(0);
MessageBuilder invalidReason = new MessageBuilder();
for (PasswordValidator<?> validator :