From 239fd05d37dc12ff4ddc320d817aa7b668e90ac5 Mon Sep 17 00:00:00 2001 From: Ben Alex Date: Mon, 3 Dec 2007 07:33:18 +0000 Subject: [PATCH] Mark the unused Servlet Container callback methods as final to ensure subclasses do not rely upon them. --- .../org/springframework/security/ui/SpringSecurityFilter.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/src/main/java/org/springframework/security/ui/SpringSecurityFilter.java b/core/src/main/java/org/springframework/security/ui/SpringSecurityFilter.java index a8adad08ff..3c49fdd12b 100644 --- a/core/src/main/java/org/springframework/security/ui/SpringSecurityFilter.java +++ b/core/src/main/java/org/springframework/security/ui/SpringSecurityFilter.java @@ -28,13 +28,13 @@ public abstract class SpringSecurityFilter implements Filter, Ordered { * @param filterConfig 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. */ - public void destroy() { + public final void destroy() { } public final void doFilter(ServletRequest request, ServletResponse response, FilterChain chain) throws IOException, ServletException {