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 java.lang.String |
obtainPassword(javax.servlet.http.HttpServletRequest request)
Deprecated.
|
protected java.lang.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,
java.lang.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, setDetails
afterPropertiesSet, 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, unsuccessfulAuthentication
public 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.AbstractProcessingFilter
protected void sendRedirect(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, java.lang.String url) throws java.io.IOException
sendRedirect
in class org.acegisecurity.ui.AbstractProcessingFilter
java.io.IOException
protected java.lang.String obtainPassword(javax.servlet.http.HttpServletRequest request)
obtainPassword
in class org.acegisecurity.ui.webapp.AuthenticationProcessingFilter
protected java.lang.String obtainUsername(javax.servlet.http.HttpServletRequest request)
obtainUsername
in class org.acegisecurity.ui.webapp.AuthenticationProcessingFilter
Copyright © 2005-2011 Potix Corporation. All Rights Reserved.