struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject Authentication question and user accounts.
Date Mon, 30 Jun 2003 16:50:01 GMT
I am using container managed security in Tomcat 4.1.24 with a database
realm.  All this is working fine.  However, I'd like to give the user the
possibility of creating a user acount when the login.jsp is displayed.  When
the user creates the account, I would like to do the login with the supplied
credentials and redirect to the originally requested page.  I'm not sure if
Tomcat's realm classes have a way to do the login in this way and I will
check that out.  The question I'm wondering about is if anyone knows a good
solution for redirecting to the originally requested page (aside from
keeping this information in a session bean).  Even if I return back to the
login.jsp, Tomcat won't know what to do when I hit the "Submit" button.  I'm
sorry if this is OT for Struts, but this is a Struts app and you never know
if Struts has a way to help deal with this.

Thanks for any help,

Mike Witt

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message