Implementation of the password hasher based on BCrypt.
Implementation of the password hasher based on BCrypt.
A generator which creates a SHA1 fingerprint from User-Agent
, Accept-Language
, Accept-Charset
and Accept-Encoding
headers and if defined the remote address of the user.
A generator which creates a SHA1 fingerprint from User-Agent
, Accept-Language
, Accept-Charset
and Accept-Encoding
headers and if defined the remote address of the user.
The Accept
header would also be a good candidate, but this header makes problems in applications
which uses content negotiation. So the default fingerprint generator doesn't include it.
The same with Accept-Encoding
. But in Chromium/Blink based browser the content of this header may
be changed during requests. @see https://github.com/mohiva/play-silhouette/issues/277
Implementation of the cache layer which uses the default Play cache plugin.
A generator which uses SecureRandom to generate cryptographically strong IDs.
The companion object.
The companion object.
Provides implementations of utility traits.