Hi Guys,
 
I am following Matthew Langham's samples on the Sunrise components ( http://radio.weblogs.com/0103021/stories/2002/02/28/usingTheSunriseComponents.html ). I am quite sure that I have been able to configure it correctly. The question is how can I access the user data ( located at foo-user.xml ) after the user was authenticated?
Will I need to use codes like these..
 
            <session:getxml context="authentication" path="/authentication/ID"/>
 
Below are some snippets from my sitemaps, I have been able to display the content of foo-resource.xml and along with it Ialso  want to display the data in foo-user.xml
 
            <map:match pattern="foo-protected">
                <map:act type="sunRise-auth">
                    <map:parameter name="handler" value="foo-handler"/>
                    <map:generate src="foo-resource.xml"/>
                </map:act>
                <map:transform src = " "foo-resource.xsl"/>                <map:serialize />
            </map:match>
 
            <map:match pattern="foo-authuser">
                <map:generate src="foo-user.xml" />
                <map:transform src="foo-user.xsl">
                    <map:parameter name="use-request-parameters" value="true" />
                </map:transform>
                <map:serialize type = "xml" />
            </map:match>
Thanks
Richard

Reply via email to