Liking cljdoc? Tell your friends :D
Clojure only.

wagoe.user.core.password-policy

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.
raw docstring

defaultsclj

The policy applied to keys the configuration does not set.

The policy applied to keys the configuration does not set.
sourceraw docstring

normalizeclj

(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.
sourceraw docstring

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
Move to previous article
Move to next article
Ctrl+/Jump to the search field
× close