From 7439d5d2de954f732c8f88976325a3beb90048a6 Mon Sep 17 00:00:00 2001 From: Marcus Da Coregio Date: Mon, 5 Dec 2022 14:13:14 -0800 Subject: [PATCH] Revert "Fix typo" This reverts commit 707f8286f824926f4860d2eb5b44f5ad9a70b6e5. --- docs/modules/ROOT/pages/migration/index.adoc | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/docs/modules/ROOT/pages/migration/index.adoc b/docs/modules/ROOT/pages/migration/index.adoc index 467bfc75f23..58aef9b95da 100644 --- a/docs/modules/ROOT/pages/migration/index.adoc +++ b/docs/modules/ROOT/pages/migration/index.adoc @@ -141,7 +141,7 @@ PasswordEncoder passwordEncoder() { PasswordEncoder current = // ... see previous step PasswordEncoder upgraded = Pbkdf2PasswordEncoder.defaultsForSpringSecurity_v5_8(); DelegatingPasswordEncoder delegating = new DelegatingPasswordEncoder(prefix, Map.of(prefix, upgraded)); - delegating.setDefaultPasswordEncoderFormatches(current); + delegating.setDefaultPasswordEncoderForMatches(current); return delegating; } ---- @@ -155,7 +155,7 @@ fun passwordEncoder(): PasswordEncoder { PasswordEncoder current = // ... see previous step PasswordEncoder upgraded = Pbkdf2PasswordEncoder.defaultsForSpringSecurity_v5_8() DelegatingPasswordEncoder delegating = new DelegatingPasswordEncoder(prefix, Map.of(prefix, upgraded)) - delegating.setDefaultPasswordEncoderFormatches(current) + delegating.setDefaultPasswordEncoderForMatches(current) return delegating } ---- @@ -226,7 +226,7 @@ PasswordEncoder passwordEncoder() { PasswordEncoder current = // ... see previous step PasswordEncoder upgraded = SCryptPasswordEncoder.defaultsForSpringSecurity_v5_8(); DelegatingPasswordEncoder delegating = new DelegatingPasswordEncoder(prefix, Map.of(prefix, upgraded)); - delegating.setDefaultPasswordEncoderFormatches(current); + delegating.setDefaultPasswordEncoderForMatches(current); return delegating; } ---- @@ -240,7 +240,7 @@ fun passwordEncoder(): PasswordEncoder { PasswordEncoder current = // ... see previous step PasswordEncoder upgraded = SCryptPasswordEncoder.defaultsForSpringSecurity_v5_8() DelegatingPasswordEncoder delegating = new DelegatingPasswordEncoder(prefix, Map.of(prefix, upgraded)) - delegating.setDefaultPasswordEncoderFormatches(current) + delegating.setDefaultPasswordEncoderForMatches(current) return delegating } ---- @@ -311,7 +311,7 @@ PasswordEncoder passwordEncoder() { PasswordEncoder current = // ... see previous step PasswordEncoder upgraded = Argon2PasswordEncoder.defaultsForSpringSecurity_v5_8(); DelegatingPasswordEncoder delegating = new DelegatingPasswordEncoder(prefix, Map.of(prefix, upgraded)); - delegating.setDefaultPasswordEncoderFormatches(current); + delegating.setDefaultPasswordEncoderForMatches(current); return delegating; } ---- @@ -325,7 +325,7 @@ fun passwordEncoder(): PasswordEncoder { PasswordEncoder current = // ... see previous step PasswordEncoder upgraded = Argon2PasswordEncoder.defaultsForSpringSecurity_v5_8() DelegatingPasswordEncoder delegating = new DelegatingPasswordEncoder(prefix, Map.of(prefix, upgraded)) - delegating.setDefaultPasswordEncoderFormatches(current) + delegating.setDefaultPasswordEncoderForMatches(current) return delegating } ----