cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jean-Baptiste Quenot <...@anyware-tech.com>
Subject Re: Accessing "authentication"-contex wthout actually protecting a pipeline?
Date Fri, 21 Oct 2005 07:49:42 GMT
* Christofer Dutz:

> I am  working on  some rather simple  problem. I want  the title
> Frame  of a  framed website  to  display the  users name  (which
> is  contained  inside  the  additional  login-data);  if  he  is
> logged-in. Unfortunately  I  don't seem  to  be  able to  access
> the authentication  information without actually  protecting the
> pipeline with the auth-protect action.

Why would you like to avoid the <map:act type="auth-protect">?

If that's just for the sake of simplicity and conciseness of your
sitemap, you can protect all pipelines at once like below:

<map:act type="auth-protect">
  <map:match pattern="a">
    ...
  </map:match>

  <map:match pattern="b">
    ...
  </map:match>

  <map:match pattern="c">
    ...
  </map:match>
</map:act>
-- 
Jean-Baptiste Quenot
Systèmes d'Information
ANYWARE TECHNOLOGIES
Tel : +33 (0)5 61 00 52 90
Fax : +33 (0)5 61 00 51 46
http://www.anyware-tech.com/

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


Mime
View raw message