The authentication framework uses a so called authentication resource to authenticate the user. If this authentication is successful, the authentication resources delivers some XML for the user. This XML can contain any information about this user in XML you want. For the demo portal, the file "sunrise-user.xml" contains all users and their information, you can simply add your data there.
This information can be retrieved inside the portal using the session transformer. By a <session:getxml context="authentication" path="/"/> you get the XML, the authentication resource delivered for the current user. By specifying the path attribute you can selectivly grep some data out of the session context. HTH Carsten Open Source Group sunShine - b:Integrated ================================================================ Carsten Ziegeler, S&N AG, Klingenderstrasse 5, D-33100 Paderborn http://www.s-und-n.de mailto: [EMAIL PROTECTED] ---------------------------------------------------------------- The Cocoon Book: http://www.amazon.com/exec/obidos/ASIN/0735712352/apachecocoona-20 The new weblog homepage: http://ziegeler.bei.t-online.de ================================================================ -----Original Message----- From: sheshadri [mailto:[EMAIL PROTECTED]] Sent: Monday, May 06, 2002 9:16 AM To: [EMAIL PROTECTED] Subject: How to put user data into SunspotDemoPortal-session at logon time Hello, I need to put some user information in the Sunspot demo portal & extract the information from the session. can any one please guide as to how do i go about at it . Thanx, Sheshadri --------------------------------------------------------------------- Please check that your question has not already been answered in the FAQ before posting. <http://xml.apache.org/cocoon/faqs.html> To unsubscribe, e-mail: <[EMAIL PROTECTED]> For additional commands, e-mail: <[EMAIL PROTECTED]>