Dashboard > Tempo > ... > FAQ > LDAP Client > View
Tempo Log In   View a printable version of the current page.
LDAP Client
Added by Nicolas Modrzyk, last edited by Nicolas Modrzyk on Sep 11, 2008

LDAP Client

You need to edit securityConfig.xml, comment out the SimpleSecurityProvider and uncomment the LDAPSecurityProvider. Then you need to edit ldap.properties according to your LDAP server.

The location of ldap.properties is configurable in the securityConfig.xml file. You can therefore place the properties file anywhere.

You can test authentication/authorization by using the Browser class and this script,

 
#!/bin/sh
CP=lib/tempo-security-5.1.0.14.jar
CP=$CP:lib/spring-1.2.5.jar
CP=$CP:lib/log4j-1.2.8.jar
CP=$CP:lib/commons-logging-1.0.4.jar
CP=$CP:.
java -cp $CP org.intalio.tempo.security.util.Browser -config securityConfig.xml "$@"

The way to test with the Browser is to try something like:

*java ... org.intalio.tempo.security.util.Browser -config myConfig.xml -roles*
=> List all roles
*java ... org.intalio.tempo.security.util.Browser -config myConfig.xml -user MyUser*
=> Display user properties and roles
*java ... org.intalio.tempo.security.util.Browser -config myConfig.xml -user MyUser  -password XXXX*
=> Tells whether authentication works for a given user
*java ... org.intalio.tempo.security.util.Browser -config securityConfig.xml -role intalio\ProcessManager -user intalio\admin
=> Tells you what roles the user has and if they are in thespecified role.
Site powered by a free Open Source Project / Non-profit License (more) of Confluence - the Enterprise wiki.
Learn more or evaluate Confluence for your organisation.
Powered by Atlassian Confluence, the Enterprise Wiki. (Version: 1.4.1 Build:#212 Jun 02, 2005) - Bug/feature request - Contact Administrators