mirror of
https://github.com/spring-projects/spring-security.git
synced 2025-06-30 07:42:52 +00:00
Mark the unused Servlet Container callback methods as final to ensure subclasses do not rely upon them.
This commit is contained in:
parent
a53357778f
commit
239fd05d37
@ -28,13 +28,13 @@ public abstract class SpringSecurityFilter implements Filter, Ordered {
|
|||||||
* @param filterConfig ignored
|
* @param filterConfig ignored
|
||||||
* @throws ServletException ignored
|
* @throws ServletException ignored
|
||||||
*/
|
*/
|
||||||
public void init(FilterConfig filterConfig) throws ServletException {
|
public final void init(FilterConfig filterConfig) throws ServletException {
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Does nothing. We use IoC container lifecycle services instead.
|
* Does nothing. We use IoC container lifecycle services instead.
|
||||||
*/
|
*/
|
||||||
public void destroy() {
|
public final void destroy() {
|
||||||
}
|
}
|
||||||
|
|
||||||
public final void doFilter(ServletRequest request, ServletResponse response, FilterChain chain) throws IOException, ServletException {
|
public final void doFilter(ServletRequest request, ServletResponse response, FilterChain chain) throws IOException, ServletException {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user