You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Patrick Hess <po...@pbone.biz> on 2003/10/15 16:05:54 UTC
Authentication Framework
Hi,
I'm trying to implement a protected area in my cocoon setup.
In the docs I found the following action:
<map:act type="auth-login">
...
<map:parameter name="parameter_userid" value="{request-param:name}"/>
<map:parameter name="parameter_password"
value="{request-param:password}"/>
...
</map:act>
My question may be pretty simple: how to get the name/password in a XSP
page? I found a parameters object in usable in the XSP and tried to get
the value with
parameters.getParameter("parameter_userid")
which does not work... :-( Any hints for me? Thanks!!!!
Patrick
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org
Re: Authentication Framework
Posted by Patrick Hess <po...@pbone.biz>.
> The prefix "parameter_" is removed, so using the way you describe
> with "userid", "password" should work, i guess.
Only working way I found is now:
<xsp-request:get-parameter name="userid" />
Thanks for the replies!
Patrick
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org
RE: Authentication Framework
Posted by Carsten Ziegeler <cz...@s-und-n.de>.
The prefix "parameter_" is removed, so using the way you describe
with "userid", "password" should work, i guess.
Carsten
> -----Original Message-----
> From: Patrick Hess [mailto:posi@pbone.biz]
> Sent: Wednesday, October 15, 2003 4:06 PM
> To: users@cocoon.apache.org
> Subject: Authentication Framework
>
>
>
> Hi,
>
> I'm trying to implement a protected area in my cocoon setup.
> In the docs I found the following action:
>
> <map:act type="auth-login">
>
> ...
>
> <map:parameter name="parameter_userid" value="{request-param:name}"/>
> <map:parameter name="parameter_password"
> value="{request-param:password}"/>
>
> ...
>
> </map:act>
>
>
> My question may be pretty simple: how to get the name/password in a XSP
> page? I found a parameters object in usable in the XSP and tried to get
> the value with
>
> parameters.getParameter("parameter_userid")
>
> which does not work... :-( Any hints for me? Thanks!!!!
>
> Patrick
>
>
>
> ---------------------------------------------------------------------
> 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