I am trying to add a security layer on my project and I'm doing the following tutorial: https://howtodoinjava.com/spring-security/login-form-based-spring-3-security-example/
This tutorial use xml files but my config does not. How can I translate what was written in the xml files (web.xml, application-security.xml) ?
For example the following code:
<context-param> <param-name>contextConfigLocation</param-name> <param-value> /WEB-INF/employee-servlet.xml /WEB-INF/application-security.xml </param-value> </context-param>
Do I just add something like that to my property file ?
context-param.param-name=contextConfigLocation
2.1m questions
2.1m answers
60 comments
57.0k users