@@ -22,6 +24,9 @@ Use the Intercepting Filter pattern when
...
@@ -22,6 +24,9 @@ Use the Intercepting Filter pattern when
* a system should do the authentication/ authorization/ logging or tracking of request and then pass the requests to corresponding handlers
* a system should do the authentication/ authorization/ logging or tracking of request and then pass the requests to corresponding handlers
* you want a modular approach to configuring pre-processing and post-processing schemes
* you want a modular approach to configuring pre-processing and post-processing schemes
## Tutorials
*[Introduction to Intercepting Filter Pattern in Java](https://www.baeldung.com/intercepting-filter-pattern-in-java)
## Real world examples
## Real world examples
*[javax.servlet.FilterChain](https://tomcat.apache.org/tomcat-8.0-doc/servletapi/javax/servlet/FilterChain.html) and [javax.servlet.Filter](https://tomcat.apache.org/tomcat-8.0-doc/servletapi/javax/servlet/Filter.html)
*[javax.servlet.FilterChain](https://tomcat.apache.org/tomcat-8.0-doc/servletapi/javax/servlet/FilterChain.html) and [javax.servlet.Filter](https://tomcat.apache.org/tomcat-8.0-doc/servletapi/javax/servlet/Filter.html)