This valve is only available for tomcat 5.5 or greater
An up2date documentation can be found here: http://wiki.lemonldap.objectweb.org/xwiki/bin/view/NG/DocAppTomcatValve
Required:
Configure your tomcat home in build.properties file (be careful of path for windows user)
Path must contains "/". For example: c:/my hardisk/tomcat/
Run ant command: $ ant
ValveLemonLDAPNG.jar is created under /dist directory.
Copy ValveLemonLDAPNG.jar in
Add on your server.xml file a new valve entry like this (in host section):
Configure attributes :
(-) Required attributes (*) Optional attributes
Download for example probe application (great administration tool for tomcat) at http://www.lambdaprobe.org
Install valve and configure it.
Send via LemonLDAP::NG a user with the role "probeuser" or "manager"
Probe doesn't ask authentification, you're logged.
For debugging, this valve can print some helpfull information in debug level. Configure logging in tomcat (see tomcat.apache.org/tomcat-5.5-doc/logging.html)
swapon666 (at) users.sourceforge.net
http://lemonldap.ow2.org