I have a requirement to configure a Role based authentication in Tomcat. The requirement is, if user a with role 1 logs in-he should see page1.jsp and if user b with role 2 logs in he should see page2.jsp -
How to achieve this ?
I guess I should configure a realm. But displaying 2 pages based on different roles how do I achieve that ? Any links anyone please provide