Hi,
I am new to JAAS and using
this link to create custom Realm and Login module.
I have followed all the steps given in that tutorial.
I have created a web application with only one
JSP page (
index.jsp) as mentioned there and paste the following code in it:
Welcome ${pageContext.request.userPrincipal.name}
I have also add information to
web.xml.
When I run the application it only displays the page with
Welcome in it.
I would very much appreciate, if some one could guide me with this.
Should I have to create a LogIn page and then go to index.jsp page or some other steps are required to run the application.
Thanks