public class NegotiateAuthenticationFilter
extends org.apache.shiro.web.filter.authc.AuthenticatingFilter
DEFAULT_SUCCESS_URLDEFAULT_LOGIN_URL, GET_METHOD, POST_METHODappliedPaths, pathMatcher| Constructor and Description |
|---|
NegotiateAuthenticationFilter()
Instantiates a new negotiate authentication filter.
|
| Modifier and Type | Method and Description |
|---|---|
protected org.apache.shiro.authc.AuthenticationToken |
createToken(javax.servlet.ServletRequest request,
javax.servlet.ServletResponse response) |
String |
getFailureKeyAttribute()
Gets the failure key attribute.
|
String |
getRememberMeParam()
Gets the remember me param.
|
protected boolean |
isRememberMe(javax.servlet.ServletRequest request) |
protected boolean |
onAccessDenied(javax.servlet.ServletRequest request,
javax.servlet.ServletResponse response) |
protected boolean |
onLoginFailure(org.apache.shiro.authc.AuthenticationToken token,
org.apache.shiro.authc.AuthenticationException e,
javax.servlet.ServletRequest request,
javax.servlet.ServletResponse response) |
protected boolean |
onLoginSuccess(org.apache.shiro.authc.AuthenticationToken token,
org.apache.shiro.subject.Subject subject,
javax.servlet.ServletRequest request,
javax.servlet.ServletResponse response) |
protected void |
setFailureAttribute(javax.servlet.ServletRequest request,
org.apache.shiro.authc.AuthenticationException ae)
Sets the failure attribute.
|
void |
setFailureKeyAttribute(String value)
Sets the failure key attribute.
|
void |
setRememberMeParam(String value)
Sets the request parameter name to look for when acquiring the rememberMe boolean value.
|
cleanup, createToken, createToken, executeLogin, getHost, isAccessAllowed, isPermissivegetSuccessUrl, issueSuccessRedirect, setSuccessUrlgetLoginUrl, getSubject, isLoginRequest, onAccessDenied, onPreHandle, redirectToLogin, saveRequest, saveRequestAndRedirectToLogin, setLoginUrlgetPathWithinApplication, isEnabled, pathsMatch, pathsMatch, preHandle, processPathConfigafterCompletion, doFilterInternal, executeChain, postHandledoFilter, getAlreadyFilteredAttributeName, isEnabled, isEnabled, setEnabled, shouldNotFiltergetName, setName, toStringBuilderdestroy, getFilterConfig, getInitParam, init, onFilterConfigSet, setFilterConfigpublic NegotiateAuthenticationFilter()
public String getRememberMeParam()
public void setRememberMeParam(String value)
rememberMe. true if the parameter value equals any of those supported by
WebUtils.isTrue(request,value), false otherwise.value - the name of the request param to check for acquiring the rememberMe boolean value.protected boolean isRememberMe(javax.servlet.ServletRequest request)
isRememberMe in class org.apache.shiro.web.filter.authc.AuthenticatingFilterprotected org.apache.shiro.authc.AuthenticationToken createToken(javax.servlet.ServletRequest request,
javax.servlet.ServletResponse response)
createToken in class org.apache.shiro.web.filter.authc.AuthenticatingFilterprotected boolean onLoginSuccess(org.apache.shiro.authc.AuthenticationToken token,
org.apache.shiro.subject.Subject subject,
javax.servlet.ServletRequest request,
javax.servlet.ServletResponse response)
throws Exception
onLoginSuccess in class org.apache.shiro.web.filter.authc.AuthenticatingFilterExceptionprotected boolean onLoginFailure(org.apache.shiro.authc.AuthenticationToken token,
org.apache.shiro.authc.AuthenticationException e,
javax.servlet.ServletRequest request,
javax.servlet.ServletResponse response)
onLoginFailure in class org.apache.shiro.web.filter.authc.AuthenticatingFilterprotected void setFailureAttribute(javax.servlet.ServletRequest request,
org.apache.shiro.authc.AuthenticationException ae)
request - the requestae - the aepublic String getFailureKeyAttribute()
public void setFailureKeyAttribute(String value)
value - the new failure key attributeCopyright © 2010–2017 com.github.waffle. All rights reserved.