public class MyAnonymousFilter extends MyFormAuthenticationFilter
DEFAULT_ERROR_KEY_ATTRIBUTE_NAME, DEFAULT_PASSWORD_PARAM, DEFAULT_REMEMBER_ME_PARAM, DEFAULT_USERNAME_PARAMPERMISSIVEDEFAULT_SUCCESS_URLDEFAULT_LOGIN_URL, GET_METHOD, POST_METHOD| 构造器和说明 |
|---|
MyAnonymousFilter() |
| 限定符和类型 | 方法和说明 |
|---|---|
static String |
getPassword() |
static String |
getRole() |
static String |
getUsername() |
boolean |
onPreHandle(javax.servlet.ServletRequest request,
javax.servlet.ServletResponse response,
Object mappedValue)
Always returns
true allowing unchecked access to the underlying path or resource. |
void |
setGuest(List<String> guestString) |
clearFailureAttribute, createToken, getFailureKeyAttribute, getPassword, getPasswordParam, getRememberMeParam, getUsername, getUsernameParam, isLoginSubmission, isRememberMe, onAccessDenied, onLoginFailure, onLoginSuccess, setFailureAttribute, setFailureKeyAttribute, setFailureUrlMap, setLoginUrl, setLoginUrlMap, setPasswordParam, setRememberMeParam, setSuccessUrlMap, setUserAttribute, setUsernameParamcleanup, createToken, createToken, createToken, doCaptchaValidate, executeLogin, getCaptcha, getHost, isAccessAllowed, isPermissivedynaRedirect, getSuccessUrl, getSuccessUrlMap, issueFailureRedirect, issueSuccessRedirect, setSuccessUrlgetFailureUrl, getFailureUrlMap, getLoginUrl, getLoginUrlMap, getRealFailureUrl, getRealLoginUrl, getSubject, isLoginRequest, onAccessDenied, redirectToLogin, saveRequest, saveRequestAndRedirectToLogin, setFailureUrlgetPathWithinApplication, isEnabled, pathsMatch, pathsMatch, preHandle, processPathConfigafterCompletion, doFilterInternal, executeChain, postHandledoFilter, getAlreadyFilteredAttributeName, isEnabled, isEnabled, setEnabled, shouldNotFilterdestroy, getFilterConfig, getInitParam, init, onFilterConfigSet, setFilterConfigpublic boolean onPreHandle(javax.servlet.ServletRequest request,
javax.servlet.ServletResponse response,
Object mappedValue)
true allowing unchecked access to the underlying path or resource.onPreHandle 在类中 MyAccessControlFiltertrue always, allowing unchecked access to the underlying path or resource.public static String getPassword()
public static String getRole()
public static String getUsername()
Copyright © 2014. All rights reserved.