Hi ,
Thanks a lot .. I did my first JAAS coding which reads the user name and password from the system console and authenticates the user.
know I am not getting the concepts behind subject and principal . Also i saw some login.jsp page which has coding something like this,
<form method="POST" action='<%= response.encodeURL("j_security_check") %>' >
<table border="0" cellspacing="5">
<tr>
<th align="right">Username:</th>
<td align="left"><input type="text" name="j_username"></td>
</tr>
<tr>
<th align="right">Password:</th>
<td align="left"><input type="password" name="j_password"></td>
</tr>
<tr>
<td align="right"><input type="submit" value="Log In"></td>
<td align="left"><input type="reset"></td>
</tr>
</table>
</form>
what is that "action = j_security_check" but i am not finding any action mappings or
servlet mappings in deployment descriptors.
Help me out to proceed further for a better understanding.
Thanks,
Suresh B