Hi,
Good Morning to the World!!!
Hope everyone is doing good.
I started learning spring security. I created a sample application as mentioned in book and run the application in jetty server.
The application should ask for the username and password before displaying the "Hello World" content. But it is displaying the content directly without showing the login form.
At runtime it is picking applicationContext-security.xml eventhough it is configured in DD.
Please go through the code below:
HelloWorldServlet.java
web.xml
applicationSecurity-context.xml
This is a
maven project which runs on the jetty server.
My doubt with the above code is I am making use of both annotations and xml (DD). Is this leading to confusion to compiler. Please suggest me where I'm mistaken.
Thank You to everyone for the help.
Thanks and Regards,
G.Sathish Kumar.