February 2017
Intermediate to advanced
1023 pages
24h 11m
English
HttpServletRequest is the starting point of a Java web application. To configure web security, you need to set up a filter that provides various security features. To enable Spring Security, add filter and their mapping in the web.xml file.
The first step is to configure DelegatingFilterProxy instance in web.xml while securing the web application's URL access with Spring Security.
In the web.xml file, you'll find the following code:
<!—Spring Security --> <filter> <filter-name>springSecurityFilterChain</filter-name> <filter-class>org.springframework.web.filter.DelegatingFilterProxy</filter-class> </filter> <filter-mapping> <filter-name>springSecurityFilterChain</filter-name> <url-pattern>/*</url-pattern> ...
Read now
Unlock full access