Explorar o código

Make isPasswordCorrect protected to facilitate subclass use.

Ben Alex %!s(int64=21) %!d(string=hai) anos
pai
achega
46f17bed79

+ 1 - 1
core/src/main/java/org/acegisecurity/providers/dao/DaoAuthenticationProvider.java

@@ -244,7 +244,7 @@ public class DaoAuthenticationProvider implements AuthenticationProvider,
         }
     }
 
-    private boolean isPasswordCorrect(Authentication authentication, User user) {
+    protected boolean isPasswordCorrect(Authentication authentication, User user) {
         Object salt = null;
 
         if (this.saltSource != null) {