All the properties are defined in the configuration file /properties/config.properties.
Using LDAP
Not to use LDAP, set this property to false :
Bloc de code |
---|
#useLdap=true
|
Server URL (required)
Bloc de code |
---|
#ldap.url=ldap://ldap.domain.edu:389
|
Server authentication
An anonymous connection is used by default:
Bloc de code |
---|
#ldap.userName=
#ldap.password=
|
Search base (required)
Bloc de code |
---|
#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:
Bloc de code |
---|
#ldap.dnSubPath=ou=people
|
Unique id attribute
The attribute that holds the users' unique id:
Bloc de code |
---|
#ldap.uidAttribute=uid
|
Display name attribute
The attribute that holds the users' display name:
Bloc de code |
---|
#ldap.displayNameAttribute=displayName
|
Email address attribute
The attribute that holds the users' email address:
Bloc de code |
---|
#ldap.emailAttribute=mail
|
Search attributes
The attributes on which the LDAP searches will be performed:
Bloc de code |
---|
#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:
Bloc de code |
---|
#ldap.testFilter=cn=*smith*
|
Connect timeout
The connect timeout of the server (in milliseconds):
Bloc de code |
---|
#ldap.connectTimeout=5000
|
Attributes retrieved
The (comma-separated) list of the attributes retrieved when extracting a user:
Bloc de code |
---|
#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:
Bloc de code |
---|
#ldap.searchDisplayedAttributes=cn,displayName,employeeType,department
|