mirror of
https://github.com/spring-projects/spring-security.git
synced 2025-06-25 21:42:17 +00:00
SEC-1779: Added getters for success and failure handlers to AbstractAuthenticationProcessingFilter.
This commit is contained in:
parent
30088f19ae
commit
f456db267f
@ -428,4 +428,12 @@ public abstract class AbstractAuthenticationProcessingFilter extends GenericFilt
|
|||||||
Assert.notNull(failureHandler, "failureHandler cannot be null");
|
Assert.notNull(failureHandler, "failureHandler cannot be null");
|
||||||
this.failureHandler = failureHandler;
|
this.failureHandler = failureHandler;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public AuthenticationSuccessHandler getSuccessHandler() {
|
||||||
|
return successHandler;
|
||||||
|
}
|
||||||
|
|
||||||
|
public AuthenticationFailureHandler getFailureHandler() {
|
||||||
|
return failureHandler;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user