cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Warrell" <warr...@iquo.co.uk>
Subject RE: Using auth info in sitemap
Date Wed, 07 Mar 2007 12:16:56 GMT
Are you using the Cocoon Authentication framework or Apache http to protect
your document?

-----Original Message-----
From: Skip Carter [mailto:skip@taygeta.com] 
Sent: 06 March 2007 23:11
To: users@cocoon.apache.org
Subject: Using auth info in sitemap

I am trying to use the remote user name info from a password protected page
within a sitemap pipeline.  It seems to require a selector for the user name
but I can't seem to find documentation about any such selector.  Does one
exist or do I have to write my own.

I want my pipeline to have something that looks along the lines of,

     <map:match pattern="protected/index.html">
         <map:select type="session-attribute">
             <map:parameter name="attribute-name" value="user"/>
                 <map:when test="user1">
                     ...
                 </map:when>
                 <map:when test="user2">
                     ...
                 </map:when>
                 <map:otherwise>
                     ...
                 </map:otherwise>
        </map:select>    
     </map:match>


ATM, I am using cocoon 2.1.6


-- 
 Dr. Everett (Skip) Carter           Phone: 831-641-0645 FAX:  831-641-0647
 Taygeta Network Security Services   email: skip@taygeta.net
 1340 Munras Ave., Suite 314         WWW: http://www.taygeta.net/
 Monterey, CA. 93940            










---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message