public class PasswordEncoderStore extends Object
| Modifier and Type | Method and Description |
|---|---|
static ConfigurablePasswordEncoder |
add(String key,
ConfigurablePasswordEncoder encryptor)
Adds the given
ConfigurablePasswordEncoder for the given name. |
static void |
clear()
Removes all
ConfigurablePasswordEncoder's from the store. |
static ConfigurablePasswordEncoder |
get(String key)
Returns the
ConfigurablePasswordEncoder for the given name. |
static ConfigurablePasswordEncoder |
remove(String key)
Removes the
ConfigurablePasswordEncoder with the given name. |
public static ConfigurablePasswordEncoder add(String key, ConfigurablePasswordEncoder encryptor)
ConfigurablePasswordEncoder for the given name.key - the unique key to identify the ConfigurablePasswordEncoderencryptor - the ConfigurablePasswordEncoder to be storedConfigurablePasswordEncoderpublic static ConfigurablePasswordEncoder get(String key)
ConfigurablePasswordEncoder for the given name.key - the unique key of the ConfigurablePasswordEncoderConfigurablePasswordEncoder for the given namepublic static ConfigurablePasswordEncoder remove(String key)
ConfigurablePasswordEncoder with the given name.key - the unique key of the ConfigurablePasswordEncoderConfigurablePasswordEncoderpublic static void clear()
ConfigurablePasswordEncoder's from the store.