فهرست منبع

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