You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by qMax <qm...@mediasoft.ru> on 2004/07/07 10:52:36 UTC

[SOLVED] how to access authentication context ?

Tuesday, July 6, 2004, 8:23:21 PM, qmax@mediasoft.ru wrote:
q> I want to implement very simple scheme:
q> if user is not loged in, every page on site contains login form,
q> if user is logged in, there is "hello, $user" message and logout button.

q> session context "authentication" is only available if pipeline is
q> within auth-protect acition, but not in auth-loggedIn action.

q> How should I pass auth ID to XSLT stylesheet that forms page?

Solution is to nest auth-protect into auth-logedIn.
Described at
http://cocoon.apache.org/2.1/developing/webapps/authentication.html
in section "Controlling application flow"

Sorry for bothering mailing list.

-- 
 qMax


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