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…
Reference in New Issue