Write a proxy to retrieve the user data you wish to put in the session. The proxy will check to see if a user has been authenticated (request.getUserPrincipal() != null), and, if they have, it will check to see if your user data has been created yet. If it has, it will just take it from the session and return it. If it hasn't, it will create it, save it to the session, and return it.

That help?

usha wrote:

Hi

i am new to structs. right now i am using in my project form based authentication. with this i have some problems like i cannot instantiate some of session veriable upon logging etc. is there any standard mechnism for loging using sturcts. i am using JBoss as my application server.

Thanks in advance
usha..
--
Eddie Bush



--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to