Create a simple Login application and secure pages with Java Servlet Filter. SecurityUtils class is a utility class, which has methods to help check if a request .