public final class PasswordManagerFactory extends Object
getDefaultPasswordManager() is mapped to the implementation defined
by the discovery service.DiscoveryService| Constructor and Description |
|---|
PasswordManagerFactory() |
| Modifier and Type | Method and Description |
|---|---|
static PasswordManager |
getDefaultPasswordManager()
Get the default password manager, according to the configuration, which
can be any of the supplied password manager (see other methods) or also a
custom configuration.
|
static PasswordManager |
getStandardPasswordManager()
Return the standard password manager where passwords are Base64 encoded.
|
static PasswordManager |
getStrongPasswordManager()
Return the strong password manager where passwords are encrypted,
therefore not easy to find in the memory.
|
static PasswordManager |
getWeakPasswordManager()
Return the weak password manager where passwords are kept clear ; a weak
password manager is suitable for example when a password is already clear
in the system, such as a database password which has been read from a
configuration file aside the system, which therefore already appears
clear.
|
public static PasswordManager getDefaultPasswordManager()
StandardPasswordManager.
To override, use the DiscoveryServicepublic static PasswordManager getWeakPasswordManager()
WeakPasswordManagerpublic static PasswordManager getStandardPasswordManager()
StandardPasswordManagerpublic static PasswordManager getStrongPasswordManager()
StrongPasswordManagerCopyright © 2018 Alternet. All rights reserved.