-
Notifications
You must be signed in to change notification settings - Fork 5
/
ldap.properties.sample
64 lines (48 loc) · 1.86 KB
/
ldap.properties.sample
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
# This is a template for the ldap.properties file required
# for unit test execution.
#========================================
# General properties
#========================================
ldap.url=ldap://directory.ldaptive.org
# LDAP connection timeout in milliseconds
ldap.connectTimeout=3000
# Whether to use StartTLS (probably needed if not SSL connection)
ldap.useStartTLS=true
#========================================
# LDAP connection pool configuration
#========================================
ldap.pool.minSize=3
ldap.pool.maxSize=10
ldap.pool.validateOnCheckout=false
ldap.pool.validatePeriodically=true
# Amount of time in milliseconds to block on pool exhausted condition
# before giving up.
ldap.pool.blockWaitTime=3000
# Frequency of connection validation in seconds
# Only applies if validatePeriodically=true
ldap.pool.validatePeriod=300
# Attempt to prune connections every N seconds
ldap.pool.prunePeriod=300
# Maximum amount of time an idle connection is allowed to be in
# pool before it is liable to be removed/destroyed
ldap.pool.idleTime=600
#========================================
# Authentication properties
#========================================
ldap.authn.baseDn=ou=people,dc=ldaptive,dc=org
ldap.authn.searchFilter=uid={user}
#========================================
# Principal resolution properties
#========================================
ldap.resolver.baseDn=ou=people,dc=ldaptive,dc=org
ldap.resolver.searchFilter=uid={user}
ldap.resolver.userAttribute=uid
#========================================
# User details properties
#========================================
ldap.userdetails.user.baseDn=ou=people,dc=ldaptive,dc=org
ldap.userdetails.role.baseDn=ou=groups,dc=ldaptive,dc=org
ldap.userdetails.user.searchFilter=uid={user}
ldap.userdetails.role.searchFilter=member={user}
ldap.userdetails.user.attribute=uid
ldap.userdetails.role.attribute=ou