public class PasswordEncoderFactories
extends java.lang.Object
PasswordEncoder instances| Modifier and Type | Method and Description |
|---|---|
static PasswordEncoder |
createDelegatingPasswordEncoder()
Creates a
DelegatingPasswordEncoder with default mappings. |
public static PasswordEncoder createDelegatingPasswordEncoder()
DelegatingPasswordEncoder with default mappings. Additional
mappings may be added and the encoding will be updated to conform with best
practices. However, due to the nature of DelegatingPasswordEncoder the
updates should not impact users. The mappings current are:
BCryptPasswordEncoder (Also used for encoding)LdapShaPasswordEncoderMd4PasswordEncodernew MessageDigestPasswordEncoder("MD5")NoOpPasswordEncoderPbkdf2PasswordEncoderSCryptPasswordEncodernew MessageDigestPasswordEncoder("SHA-1")new MessageDigestPasswordEncoder("SHA-256")StandardPasswordEncoderPasswordEncoder to use