public class ZkAuthenticationProcessingFilter
extends org.acegisecurity.ui.webapp.AuthenticationProcessingFilter
This implementation process zk specific popup login page. If send user login successfully, an "onLoginOK" event would be fired to the component that fired the event and caused the login processing. Since it will be tedious to register "onLoginOK" handler on every possible component, it is better to register an onLoginOK event handler on the concerned page.
Applicable to Acegi Security version 1.0.3
ZkAuthenticationEntryPoint,
ShowWindowEventListener| Constructor and Description |
|---|
ZkAuthenticationProcessingFilter()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
protected String |
obtainPassword(javax.servlet.http.HttpServletRequest request)
Deprecated.
|
protected String |
obtainUsername(javax.servlet.http.HttpServletRequest request)
Deprecated.
|
protected boolean |
requiresAuthentication(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Deprecated.
|
protected void |
sendRedirect(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
String url)
Deprecated.
|
void |
setSendZkEventAfterSuccessfulAuthentication(boolean b)
Deprecated.
Whether re-send the ZK event that caused popping up the login window after authentication successfully.
|
attemptAuthentication, getDefaultFilterProcessesUrl, init, setDetailsafterPropertiesSet, destroy, doFilter, getAuthenticationDetailsSource, getAuthenticationFailureUrl, getAuthenticationManager, getDefaultTargetUrl, getExceptionMappings, getFilterProcessesUrl, getRememberMeServices, isAlwaysUseDefaultTargetUrl, isContinueChainBeforeSuccessfulAuthentication, obtainFullRequestUrl, onPreAuthentication, onSuccessfulAuthentication, onUnsuccessfulAuthentication, setAlwaysUseDefaultTargetUrl, setApplicationEventPublisher, setAuthenticationDetailsSource, setAuthenticationFailureUrl, setAuthenticationManager, setContinueChainBeforeSuccessfulAuthentication, setDefaultTargetUrl, setExceptionMappings, setFilterProcessesUrl, setMessageSource, setRememberMeServices, successfulAuthentication, unsuccessfulAuthenticationpublic ZkAuthenticationProcessingFilter()
public void setSendZkEventAfterSuccessfulAuthentication(boolean b)
protected boolean requiresAuthentication(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
requiresAuthentication in class org.acegisecurity.ui.AbstractProcessingFilterprotected void sendRedirect(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
String url)
throws IOException
sendRedirect in class org.acegisecurity.ui.AbstractProcessingFilterIOExceptionprotected String obtainPassword(javax.servlet.http.HttpServletRequest request)
obtainPassword in class org.acegisecurity.ui.webapp.AuthenticationProcessingFilterprotected String obtainUsername(javax.servlet.http.HttpServletRequest request)
obtainUsername in class org.acegisecurity.ui.webapp.AuthenticationProcessingFilterCopyright © 2015. All rights reserved.