Dummy Password Service
Description
Dummy password service. The result of the password service methods can be influenced by the password in the following way: Using
Using
Using checkPassword(...)
- All passwords containing the string "wrong" will be rejected.
- All passwords containing the string "change" will be accepted but lead to a forced password change.
- All passwords containing the string "expired" will be accepted but lead to a forced password change because the password has expired.
- All passwords containing the string "exception" will lead to an exception.
- All other passwords are accepted.
Using changePassword(...)
- All old passwords containing the string "wrong" will be rejected. The number of retries is 3.
- All old passwords containing the string "toomany" will be rejected and the number of retries is zero.
- All old passwords containing the string "exception" will lead to an exception.
- All other old passwords are accepted.
- All new passwords containing the string "short" will be rejected because it is too short.
- All new passwords containing the string "long" will be rejected because it is too long.
- All new passwords containing the string "hist" will be rejected with a history match.
- All new passwords containing the string "req" will be rejected because required characters are missing.
- All new passwords containing the string "forb" will be rejected because it contains forbidden characters.
- All new passwords containing the string "black" will be rejected because matches a blacklist.
- All new passwords containing the string "young" will be rejected because the old password is too young to be changes.
Does not consider policy check plugins injected externally (using method setPasswordPolicyChecks).
May be used by
Properties
YAML Template (with default values)
type: DummyPasswordService
id: DummyPasswordService-xxxxxx
displayName:
comment:
properties: