Spring MVC AbstractSecurityWebApplicationInitializer Example




Asked on May 16, 2015
How to use AbstractSecurityWebApplicationInitializer in spring mvc?


Replied on May 17, 2015
AbstractSecurityWebApplicationInitializer registers the DelegatingFilterProxy to use the springSecurityFilterChain before any other registered Filter. For more detail find spring doc link

In our Spring security application, we can use it as

import org.springframework.security.web.context.AbstractSecurityWebApplicationInitializer;
public class SecurityInitializer extends AbstractSecurityWebApplicationInitializer {
}

Find the link for complete example.

http://www.concretepage.com/spring-4/spring-4-security-annotation-login-example-with-gradle




Write Answer











©2024 concretepage.com | Privacy Policy | Contact Us