cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <>
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"/>
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 -->

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:
For additional commands, e-mail:

View raw message