|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.acegisecurity.ui.AbstractProcessingFilter org.acegisecurity.ui.webapp.AuthenticationProcessingFilter org.zkoss.zkplus.acegi.ZkAuthenticationProcessingFilter
public class ZkAuthenticationProcessingFilter
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
Field Summary |
---|
Fields inherited from class org.acegisecurity.ui.webapp.AuthenticationProcessingFilter |
---|
ACEGI_SECURITY_FORM_PASSWORD_KEY, ACEGI_SECURITY_FORM_USERNAME_KEY, ACEGI_SECURITY_LAST_USERNAME_KEY |
Fields inherited from class org.acegisecurity.ui.AbstractProcessingFilter |
---|
ACEGI_SAVED_REQUEST_KEY, ACEGI_SECURITY_LAST_EXCEPTION_KEY, authenticationDetailsSource, eventPublisher, logger, messages |
Constructor Summary | |
---|---|
ZkAuthenticationProcessingFilter()
Deprecated. |
Method Summary | |
---|---|
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. |
Methods inherited from class org.acegisecurity.ui.webapp.AuthenticationProcessingFilter |
---|
attemptAuthentication, getDefaultFilterProcessesUrl, init, setDetails |
Methods inherited from class org.acegisecurity.ui.AbstractProcessingFilter |
---|
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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ZkAuthenticationProcessingFilter()
Method Detail |
---|
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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |