Project

General

Profile

« Previous | Next » 

Revision 4729

Added by daigle over 15 years ago

Add back the auth.base variable to metacat.properties. Use this variable when creating ldap distinguished name.

View differences:

AuthLdap.java
92 92
		try {
93 93
			this.ldapUrl = PropertyService.getProperty("auth.url");
94 94
			this.ldapsUrl = PropertyService.getProperty("auth.surl");
95
			// use the NCEAS base as a fallback. Normally, the base will be
96
			// parsed from the user during authentication
97
			// TODO MCD this may need to remain always at NCEAS value
98
			this.ldapBase = PropertyService.getProperty("organization.base.NCEAS");
95
			this.ldapBase = PropertyService.getProperty("auth.base");
99 96
			this.referral = PropertyService.getProperty("ldap.referral");
100 97
			this.ldapConnectTimeLimit = PropertyService
101 98
					.getProperty("ldap.connectTimeLimit");

Also available in: Unified diff