Project

General

Profile

« Previous | Next » 

Revision 8512

Added by Jing Tao almost 11 years ago

Separate the properteis for the file-based authentication to the ldap-based authentication.

View differences:

metacat.properties
163 163
######## Plugin section              #######################################
164 164
plugin.handlers=
165 165

  
166
######## Authentication and LDAP ##############################################
166
######## Authentication  ##############################################
167 167

  
168 168
auth.class=edu.ucsb.nceas.metacat.AuthLdap
169 169
# Use AuthStub to test and guarantee authentication
170 170
# auth.class=edu.ucsb.nceas.metacat.AuthStub
171
auth.timeoutMinutes=180
172 171
# auth.administrators=uid=jones,o=NCEAS,dc=ecoinformatics,dc=org
173 172
auth.administrators=
174
auth.url=ldap://ldap.ecoinformatics.org:389/
175
auth.surl=ldap://ldap.ecoinformatics.org:389/
176
auth.base=dc=ecoinformatics,dc=org
177 173
auth.allowedSubmitters=
178 174
auth.deniedSubmitters=
179 175
auth.moderators=
180 176
#auth.moderators=cn=knb-prod,o=NCEAS,dc=ecoinformatics,dc=org
181 177
#auth.moderators=cn=knb-prod,o=NCEAS,dc=ecoinformatics,dc=org:cn=esa-moderators,dc=ecoinformatics,dc=org:cn=parc-moderators,o=PARC,dc=ecoinformatics,dc=org
178
#####File-based Authentication######
182 179
auth.file.path=/var/metacat/certs/password
183 180
auth.file.hashClassName=edu.ucsb.nceas.metacat.authentication.AuthFileBCryptHash
184

  
181
######LDAP-based Authentication#############
182
auth.timeoutMinutes=180
183
auth.url=ldap://ldap.ecoinformatics.org:389/
184
auth.surl=ldap://ldap.ecoinformatics.org:389/
185
auth.base=dc=ecoinformatics,dc=org
185 186
# time in milliseconds allowed for ldap server connections
186 187
ldap.connectTimeLimit=5000
187 188
# time in milliseconds allowed for ldap server searches

Also available in: Unified diff