On Wed, 7 Mar 2007 12:16:56 -0000
"Warrell" <[EMAIL PROTECTED]> wrote:

> Are you using the Cocoon Authentication framework or Apache http to protect
> your document?

Cocoon
 
> -----Original Message-----
> From: Skip Carter [mailto:[EMAIL PROTECTED] 
> Sent: 06 March 2007 23:11
> To: [email protected]
> 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: [EMAIL PROTECTED]
 1340 Munras Ave., Suite 314         WWW: http://www.taygeta.net/
 Monterey, CA. 93940            










---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to