cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <Maxime.Ghey...@swisscom.com>
Subject Sitemap : use and get parameters
Date Tue, 10 Jun 2003 12:08:23 GMT
1. How is it possible to use parameters like :
<map:transform type="ldap>
	<map:parameter name="ldap:rootdn" value="guest"/>
	<map:parameter name="ldap:password" value="secret"/>
</map:transform>
and 
2. How is it possible to get parameters from a previous file (in our
case from the login form):
<map:generate src="ldap.xml"/>  
<map:transform type="ldap>
	<map:parameter name="ldap:rootdn" value=user/>
	<map:parameter name="ldap:password" value=passwd/> <!-- user &
passwd from login form -->
</map:transform>

The purpose of this is :
Use the username & password from the login form to connect to the LDAP
server (ldap:rootdn and ldap:password). 
	if the connection succeed get the user information. 
	else authentification fails

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


Mime
View raw message