Преглед на файлове

Make isPasswordCorrect protected to facilitate subclass use.

Ben Alex преди 21 години
родител
ревизия
46f17bed79
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      core/src/main/java/org/acegisecurity/providers/dao/DaoAuthenticationProvider.java

+ 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) {