|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.acegisecurity.ui.AbstractProcessingFilter
org.acegisecurity.ui.webapp.AuthenticationProcessingFilter
hudson.security.AuthenticationProcessingFilter2
public class AuthenticationProcessingFilter2
AuthenticationProcessingFilter with a change for Jenkins so that
we can pick up the hidden "from" form field defined in login.jelly
to send the user back to where he came from, after a successful authentication.
| 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 | |
|---|---|
AuthenticationProcessingFilter2()
|
|
| Method Summary | |
|---|---|
protected String |
determineFailureUrl(javax.servlet.http.HttpServletRequest request,
org.acegisecurity.AuthenticationException failed)
|
protected String |
determineTargetUrl(javax.servlet.http.HttpServletRequest request)
|
protected void |
onSuccessfulAuthentication(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.acegisecurity.Authentication authResult)
|
protected void |
onUnsuccessfulAuthentication(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.acegisecurity.AuthenticationException failed)
Leave the information about login failure. |
| Methods inherited from class org.acegisecurity.ui.webapp.AuthenticationProcessingFilter |
|---|
attemptAuthentication, getDefaultFilterProcessesUrl, init, obtainPassword, obtainUsername, setDetails |
| Methods inherited from class org.acegisecurity.ui.AbstractProcessingFilter |
|---|
afterPropertiesSet, destroy, doFilter, getAuthenticationDetailsSource, getAuthenticationFailureUrl, getAuthenticationManager, getDefaultTargetUrl, getExceptionMappings, getFilterProcessesUrl, getRememberMeServices, isAlwaysUseDefaultTargetUrl, isContinueChainBeforeSuccessfulAuthentication, obtainFullRequestUrl, onPreAuthentication, requiresAuthentication, sendRedirect, setAlwaysUseDefaultTargetUrl, setApplicationEventPublisher, setAuthenticationDetailsSource, setAuthenticationFailureUrl, setAuthenticationManager, setBufferSize, setContinueChainBeforeSuccessfulAuthentication, setDefaultTargetUrl, setExceptionMappings, setFilterProcessesUrl, setMessageSource, setRememberMeServices, setUseRelativeContext, successfulAuthentication, unsuccessfulAuthentication |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AuthenticationProcessingFilter2()
| Method Detail |
|---|
protected String determineTargetUrl(javax.servlet.http.HttpServletRequest request)
determineTargetUrl in class org.acegisecurity.ui.AbstractProcessingFilter
protected String determineFailureUrl(javax.servlet.http.HttpServletRequest request,
org.acegisecurity.AuthenticationException failed)
determineFailureUrl in class org.acegisecurity.ui.AbstractProcessingFilterAbstractProcessingFilter.determineFailureUrl(javax.servlet.http.HttpServletRequest, org.acegisecurity.AuthenticationException)
protected void onSuccessfulAuthentication(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.acegisecurity.Authentication authResult)
throws IOException
onSuccessfulAuthentication in class org.acegisecurity.ui.AbstractProcessingFilterIOException
protected void onUnsuccessfulAuthentication(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.acegisecurity.AuthenticationException failed)
throws IOException
Otherwise it seems like Acegi doesn't really leave the detail of the failure anywhere.
onUnsuccessfulAuthentication in class org.acegisecurity.ui.AbstractProcessingFilterIOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||