keycloak
|
公開メンバ関数 | |
FileBasedPasswordBlacklist (Path blacklistBasePath, String name) | |
String | getName () |
boolean | contains (String password) |
関数 | |
void | lazyInit () |
非公開メンバ関数 | |
BloomFilter< String > | load () |
long | getPasswordCount () throws IOException |
静的非公開メンバ関数 | |
static BufferedReader | newReader (Path path) throws IOException |
static Path | detectBlacklistsBasePath (Config.Scope config) |
static Path | ensureExists (Path path) |
非公開変数類 | |
final String | name |
final Path | path |
BloomFilter< String > | blacklist |
静的非公開変数類 | |
static final double | FALSE_POSITIVE_PROBABILITY = 0.01 |
static final int | BUFFER_SIZE_IN_BYTES = 512 * 1024 |
A FileBasedPasswordBlacklist uses password-blacklist files as to construct a PasswordBlacklist.
This implementation uses a dynamically sized BloomFilter to provide a false positive probability of 1%.
|
inline |
|
inline |
org.keycloak.policy.BlacklistPasswordPolicyProviderFactory.PasswordBlacklistを実装しています。
|
inlinestaticprivate |
Discovers password blacklists location.
and fallback to the
folder of the currently running wildfly instance.
config |
IllegalStateException | if no blacklist folder could be detected |
|
inlinestaticprivate |
|
inline |
org.keycloak.policy.BlacklistPasswordPolicyProviderFactory.PasswordBlacklistを実装しています。
|
inlineprivate |
Determines password blacklist size to correctly size the BloomFilter backing this blacklist.
IOException |
|
inlinepackage |
|
inlineprivate |
Loads the referenced blacklist into a BloomFilter.
|
inlinestaticprivate |
|
private |
Initialized lazily via lazyInit()
|
staticprivate |
|
staticprivate |
|
private |
The name of the blacklist filename.
|
private |
The concrete path to the password-blacklist file.