Commit 079b20a9 authored by liaozan's avatar liaozan 🏀

Make AbstractAuthenticator#doValidate abstract

parent 34d85888
...@@ -46,9 +46,7 @@ public abstract class AbstractAuthenticator implements Authenticator { ...@@ -46,9 +46,7 @@ public abstract class AbstractAuthenticator implements Authenticator {
return doValidate(authentication, request, response, handler); return doValidate(authentication, request, response, handler);
} }
protected boolean doValidate(String authentication, HttpServletRequest request, HttpServletResponse response, HandlerMethod handler) { protected abstract boolean doValidate(String authentication, HttpServletRequest request, HttpServletResponse response, HandlerMethod handler);
return true;
}
@Nullable @Nullable
protected String getAuthentication(HttpServletRequest request) { protected String getAuthentication(HttpServletRequest request) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment