cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gautam Ganguly" <>
Subject XSP-authentication framework related query
Date Thu, 03 Apr 2003 17:20:13 GMT
hi there,
   I am currently using the authentication framework in my Cocoon-2.1
 How do i access the authentication context info like ID, my
 I tried accessing the record using the getxml but i just got blanks in

My test.xsp code looks like this:=====================
<?xml version="1.0"?>
<xsp:page xmlns:xsp=""
      <title>Test Page</title>
        <form handler="results-page.html">
	<xsp-session:getxml context="authentication" path="/ID"/>
	<xsp-session:getxml context="authentication" path="/role"/>
	<xsp-session:getxml context="authentication" path="/name"/>
               <submit name="Results"/>

Here is the sitemap ===============================
<map:match pattern="*.html">
      <map:act type="auth-protect">
	<map:parameter name="handler" value="Securityhandler"/> 

<map:match pattern="search-dept.html">
  <map:generate type="serverpages" src="docs/auth/test-page.xsp"/>
  <map:transform src="stylesheets/apache.xsl">
        <map:parameter name="parameter_menufilename" value="{role}"/>

As you might have noticed in the sitemap above I am also trying to send
the "role" information as a parameter to the apache.XSL file as a
parameter,but the xsl file doesn't seem to get it...

IF someone can just help me out on this, i would really aprreciate it.


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message