Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Tomcat Users »

API for authenticating a user

Koji Sekiguchi

2004-05-23


Hi,

I have the following jsp deployed on Tomcat 5.0.24:

login.jsp
secure/secretInfo.jsp
registerUser.jsp
 :

I've successfully set form authentication with JDBC Realm.
If users who haven't login try to access secure/* pages,
they are constrained by tomcat and move to login.jsp.
registerUser.jsp registers a new user and his role. This works fine,
too.

What I want to do is, registerUser.jsp registers a new user
and then authenticates the user. What tomcat api(s)
should I use to authenticate an arbitrary user?

regards,

Koji




---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected)
For additional commands, e-mail: tomcat-user-help@(protected)

©2008 junlu.com - Jax Systems, LLC, U.S.A.