Project

General

Profile

Revision 4587

Added by daigle about 12 years ago

change generic authentication properties from ldap.* to auth.*

View differences:

src/edu/ucsb/nceas/metacat/AuthLdap.java
92 92
	public AuthLdap() throws InstantiationException {
93 93
		// Read LDAP URI for directory service information
94 94
		try {
95
			this.ldapUrl = PropertyService.getProperty("ldap.url");
96
			this.ldapsUrl = PropertyService.getProperty("ldap.surl");
95
			this.ldapUrl = PropertyService.getProperty("auth.url");
96
			this.ldapsUrl = PropertyService.getProperty("auth.surl");
97 97
			// use the NCEAS base as a fallback.  Normally, the base will be
98 98
			// parsed from the user during authentication
99 99
			// TODO MCD this may need to remain always at NCEAS value
......
901 901
   * @param foruser the user for which the attribute list is requested
902 902
   * @returns HashMap a map of attribute name to a Vector of values
903 903
   */
904
  public HashMap<String,Vector<String>> getAttributes(String foruser) throws ConnectException {
904
  public HashMap<String, Vector<String>> getAttributes(String foruser) throws ConnectException {
905 905
    return getAttributes(null, null, foruser);
906 906
  }
907 907

  

Also available in: Unified diff