The one reading of a configured password policy.
Two validators used to read the same policy under two spellings —
validate-password-constraint wanted :require-numbers?, which is what
config.edn writes, and meets-password-policy? wanted :require-numbers,
which nothing writes. Configuration reached one of them and not the other,
so registration rejected passwords on rules the config had switched off
(BOU-388).
?-suffixed is canonical. The unsuffixed spelling is still read, so a
caller passing a hand-built policy keeps working.
The one reading of a configured password policy. Two validators used to read the same policy under two spellings — `validate-password-constraint` wanted `:require-numbers?`, which is what `config.edn` writes, and `meets-password-policy?` wanted `:require-numbers`, which nothing writes. Configuration reached one of them and not the other, so registration rejected passwords on rules the config had switched off (BOU-388). `?`-suffixed is canonical. The unsuffixed spelling is still read, so a caller passing a hand-built policy keeps working.
The policy applied to keys the configuration does not set.
The policy applied to keys the configuration does not set.
(normalize policy)A policy map with canonical keys and every default filled in.
Pure.
A policy map with canonical keys and every default filled in. Pure.
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |