All the properties are defined in the configuration file /properties/config.properties.
Using LDAP
Not to use LDAP, set this property to false :
#useLdap=true
Server URL (required)
#ldap.url=ldap://ldap.domain.edu:389
Server authentication
An anonymous connection is used by default:
#ldap.userName= #ldap.password=
Search base (required)
#ldap.base=dc=domain,dc=edu
User path
By default ou=people. With the default values, users will be searched for in dc=domain,dc=edu,ou=people:
#ldap.dnSubPath=ou=people
Unique id attribute
The attribute that holds the users' unique id:
#ldap.uidAttribute=uid
Display name attribute
The attribute that holds the users' display name:
#ldap.displayNameAttribute=displayName
Email address attribute
The attribute that holds the users' email address:
#ldap.emailAttribute=mail
Search attributes
The attributes on which the LDAP searches will be performed:
#ldap.searchAttribute=cn
With the default values, searching smith in the LDAP directory will correspond to the filter cn=*smith*.
Test filter
This property is used when running the ant task test-ldap:
#ldap.testFilter=cn=*smith*
Connect timeout
The connect timeout of the server (in milliseconds):
#ldap.connectTimeout=5000
Attributes retrieved
The (comma-separated) list of the attributes retrieved when extracting a user:
#ldap.attributes=cn,displayName,employeeType,department,homeDirectory,mail
Attributes shown on the search page
The attibutes displayed to clearly identify users when LDAP searches return several entries:
#ldap.searchDisplayedAttributes=cn,displayName,employeeType,department