Hi all, I couldn't fine out any example.
I want to write a small application in which authentication method will be form based. And I want to store user and roles in database for this application only not for all tomcat server.
How do I do it?
In fact, I want to display the login page if not logged in.
And depending upon the role that I defined in database I want to give the permission on different pages(views).
Thank you. |