File: ldap.properties

package info (click to toggle)
libvt-ldap-java 3.3.8-4
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 1,884 kB
  • sloc: java: 17,489; xml: 1,140; sh: 54; makefile: 2
file content (122 lines) | stat: -rw-r--r-- 4,102 bytes parent folder | download | duplicates (3)
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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
# Configuration variables for ldap operation
# Comments must be on separate lines
# Format is 'name=value'

## LDAP CONFIG ##

# fully qualified class name of the context factory that JNDI should use
# default value is 'com.sun.jndi.ldap.LdapCtxFactory'
#edu.vt.middleware.ldap.contextFactory=

# fully qualified class name which implements javax.net.ssl.SSLSocketFactory
#edu.vt.middleware.ldap.sslSocketFactory=

# fully qualified class name which implements javax.net.ssl.HostnameVerifier
#edu.vt.middleware.ldap.hostnameVerifier=

# hostname of the LDAP
edu.vt.middleware.ldap.ldapUrl=ldap://directory.vt.edu:389

# base dn for performing user lookups
edu.vt.middleware.ldap.baseDn=ou=People,dc=vt,dc=edu

# bind DN if one is required to bind before searching
#edu.vt.middleware.ldap.bindDn=cn=manager,ou=Services,dc=vt,dc=edu

# credential for the bind DN
#edu.vt.middleware.ldap.bindCredential=manager_password

# LDAP authentication mechanism
# default value is 'simple'
#edu.vt.middleware.ldap.authtype=

# require an authoritative source, this value must be either 'true' or 'false'
#edu.vt.middleware.ldap.authoritative=

# sets the amount of time in milliseconds that search operations will block
#edu.vt.middleware.ldap.timeLimit=

# sets the amount of time in milliseconds that connect operations will block
#edu.vt.middleware.ldap.timeout=

# sets the maximum number of entries that search operations will return
#edu.vt.middleware.ldap.countLimit=

# sets the batch size to use when returning results
# default value is '-1'
#edu.vt.middleware.ldap.batchSize=

# sets the DNS url to use for hostname resolution
# example is 'dns://somehost/wiz.com'
#edu.vt.middleware.ldap.dnsUrl=

# sets the preferred language
# default value is determined by the service provider
#edu.vt.middleware.ldap.language=

# specifies how referrals should be handled
# must be one of 'throw', 'ignore', or 'follow'
#edu.vt.middleware.ldap.referral=

# specifies how aliases should be handled
# must be one of 'always', 'never', 'finding', or 'searching'
#edu.vt.middleware.ldap.derefAliases=

# specifies additional attributes which should be treated as binary
# attribute names should be space delimited
edu.vt.middleware.ldap.binaryAttributes=userSMIMECertificate

# only return attribute type names, this value must be either 'true' or 'false'
#edu.vt.middleware.ldap.typesOnly=

# whether SSL should be used for LDAP connections
# default value is 'false'
#edu.vt.middleware.ldap.ssl=

# whether TLS should be used for LDAP connections
# default value is 'false'
#edu.vt.middleware.ldap.tls=

## LDAP AUTHENTICATOR CONFIG ##

# can be used to override any of the previous properties

# fully qualified class name which implements javax.net.ssl.SSLSocketFactory
#edu.vt.middleware.ldap.auth.sslSocketFactory=

# fully qualified class name which implements javax.net.ssl.HostnameVerifier
#edu.vt.middleware.ldap.auth.hostnameVerifier=

# hostname and optional port of your LDAP
edu.vt.middleware.ldap.auth.ldapUrl=ldap://authn.directory.vt.edu:389

# base dn for performing user lookups
edu.vt.middleware.ldap.auth.baseDn=ou=People,dc=vt,dc=edu

# LDAP authentication mechanism
# default value is 'simple'
#edu.vt.middleware.ldap.auth.authtype=

# LDAP field which contains user identifier
edu.vt.middleware.ldap.auth.userField=uupid

# whether the authentication dn should be constructed or looked up in the LDAP
edu.vt.middleware.ldap.auth.constructDn=false

# whether the authentication dn should be searched for over the entire base
edu.vt.middleware.ldap.auth.subtreeSearch=false

# whether authentication credentials should be logged
# default value is 'false'
#edu.vt.middleware.ldap.auth.logCredentials=

# whether SSL should be used for LDAP connections
# default value is 'false'
#edu.vt.middleware.ldap.auth.ssl=

# whether TLS should be used for LDAP connections
# default value is 'false'
edu.vt.middleware.ldap.auth.tls=true

# ldap filter to use for performing authorization
#edu.vt.middleware.ldap.auth.authorizationFilter=(&(eduPersonAffiliation=VT-ALUM)(eduPersonAffiliation=VT-EMPLOYEE))