This does work although I also would like to use the session parameter
if possible:
<xsp:page
xmlns:xsp="http://apache.org/xsp"
xmlns:esql="http://apache.org/cocoon/SQL/v2"
xmlns:xsp-session="http://apache.org/xsp/session/2.0"
xmlns:xsp-request="http://apache.org/xsp/request/2.0"
create-session="true"
language="java">
<xsp-request:get-parameter name="username"/>
-----Original Message-----
From: Patrick Hess [mailto:[EMAIL PROTECTED]
Sent: 15 October 2003 15:06
To: [EMAIL PROTECTED]
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]