cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Charlene Mitchell <charlene...@yahoo.co.uk>
Subject cocoon login action
Date Wed, 08 Jan 2003 13:50:29 GMT
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:     <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail:   <cocoon-users-help@xml.apache.org>


Mime
View raw message