cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Wilson, Colin" <colin.wil...@metoffice.com>
Subject RE: Authentication Framework
Date Wed, 15 Oct 2003 14:25:25 GMT
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:posi@pbone.biz] 
Sent: 15 October 2003 15:06
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


Mime
View raw message