Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Struts 2 »

tomcat 5.5 authentication question

Eugen Stoianovici

2007-08-14

Replies:

I'm very new to struts (and java for that matter) so my question might
be stupid but here goes:

I have an application that is based on companies and employees. Each
employee may have a single company. Also each employee has a user (which
is used by tomcat for authentication/authorization) and i want to set
some session values after a login (like current company and current
employee).
Since I can't intercept the login form (which goes to j_security_check)
where should i put the code for setting those session values?

Thanks

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

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