You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Carsten Ziegeler <cz...@s-und-n.de> on 2003/09/03 08:49:25 UTC

RE: *****SPAM***** No "authentication" context?

Hi,

you can only get information from the authentication context, if you
have the auth-protect action in the pipeline where you use the
transformer.

HTH
Carsten

> -----Original Message-----
> From: Sonny Sukumar [mailto:ahimsadesi@hotmail.com]
> Sent: Wednesday, September 03, 2003 8:38 AM
> To: users@cocoon.apache.org
> Subject: *****SPAM***** No "authentication" context?
>
>
>
> After logging in using the Auth Framework, I try to use the session
> transformer to fetch the ID in the "authentication" context, but I get a
> ProcessingException saying:
>
> org.apache.cocoon.ProcessingException:
> SessionManager.streamContextFragment:
> Context 'authentication' not found.
>
> Here's my syntax:
> <session:getxml context="authentication" path="/authentication/ID"/>
>
> I made sure I really got logged in using auth-loggedIn.  I also
> printed out
> all session atribute names right after logging in, and there's
> only 1 named
> "org.apache.cocoon.webapps.authentication.components.DefaultAuthen
> ticationManager/UserStatus"
>
> I thought the attribute was just supposed to be "authentication"?  In any
> case, does that attribute name look correct to you?
>
> If my transformer parameters aren't correct, then the documentation is
> wrong.  The doc I'm looking at it is here:
> http://cocoon.apache.org/2.1/developing/webapps/authentication.html
>
> Any ideas?
>
> Thanks,
>
> Sonny
>
> _________________________________________________________________
> Get MSN 8 and enjoy automatic e-mail virus protection.
> http://join.msn.com/?page=features/virus
>
>
> ---------------------------------------------------------------------
> 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