tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hillel Bilman" <>
Subject How do you use j_security within in a servlet?
Date Sun, 28 Apr 2002 23:27:28 GMT
Dear Tomcat Guru's

All the references on j-security_check I can find is from the Servlet 2.3
Specification and here is all I found:
<form method=”POST” action=”j_security_check”>
<input type=”text” name=”j_username”>
<input type=”password” name=”j_password”>

How do you use j_security in a servlet?
The user enters in a form his/her username and password, and then posts the
response to a servlet. The servlet then passes the user's username and
password internally to j_security_check and get's back if the authentication
is correct.
If the authentication is correct the servlet sends the user to the next page
and if not the user is sent to an error page.

How do you pass the username and password to j_security_check within a

Thanks for any help

To unsubscribe:   <>
For additional commands: <>
Troubles with the list: <>

View raw message