Here's an easy one (?)

I use form authentication in my web.xml and my login
page posts to j_security_check

When a user logs in I want to set some attributes in
the session.

How can I integrate my own login action to be called
after j_security_check has been carried out?

e.g. the flow will be

1. user accesses - http://localhost:8080/myPage.jsp
2. web.xml points to "/login"
3. Cocoon picks up "/login" and redirects to
"/login.html"
4. "login.html" posts credentials to
"j_security_check"
**5. login-action class gets values and sets them in
session
6. user redirected back to page requested, namely:
http://localhost:8080/myPage.jsp

I am missing step 5

Thanks (in advance and hope...)

Charlene

__________________________________________________
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
http://uk.my.yahoo.com

---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

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

Reply via email to