cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christofer Dutz" <d...@c-ware.de>
Subject AW: Accessing "authentication"-contex wthout actually protecting a pipeline?
Date Fri, 21 Oct 2005 08:06:16 GMT
What about the scenario of a portal in which you can access a page without
login and have special features when you are logged in? That's what's
happening in my case.

Chris

-----Urspr√ľngliche Nachricht-----
Von: Jean-Baptiste Quenot [mailto:jbq@anyware-tech.com] 
Gesendet: Freitag, 21. Oktober 2005 08:50
An: users@cocoon.apache.org
Betreff: Re: Accessing "authentication"-contex wthout actually protecting a
pipeline?

* 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




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


Mime
View raw message