mirror of
https://bitbucket.org/wisemapping/wisemapping-open-source.git
synced 2024-11-21 21:57:56 +01:00
Adjust number of iterations to 12 for BCrypt
This commit is contained in:
parent
7a5b4ca75a
commit
e8a246d980
@ -14,7 +14,7 @@ public class DefaultPasswordEncoderFactories {
|
||||
static PasswordEncoder createDelegatingPasswordEncoder() {
|
||||
|
||||
final Map<String, PasswordEncoder> encoders = new HashMap<>();
|
||||
encoders.put(ENCODING_ID, new BCryptPasswordEncoder(16));
|
||||
encoders.put(ENCODING_ID, new BCryptPasswordEncoder(12));
|
||||
|
||||
DelegatingPasswordEncoder result = new DelegatingPasswordEncoder(ENCODING_ID, encoders);
|
||||
result.setDefaultPasswordEncoderForMatches(new LegacyPasswordEncoder());
|
||||
|
Loading…
Reference in New Issue
Block a user