Project

General

Profile

« Previous | Next » 

Revision 4298

Added by daigle over 16 years ago

change session attribute reference from "groups" to "groupname"

View differences:

src/edu/ucsb/nceas/metacat/util/LDAPUtil.java
43 43

  
44 44
public class LDAPUtil {
45 45

  
46
//	private static Logger logMetacat = Logger.getLogger(LDAPUtil.class);
47 46
	private static Vector<String> administrators = null;
48 47
	private static Vector<String> moderators = null;
49 48
	private static Vector<String> allowedSubmitters = null;
......
209 208
			String sessionId = session.getId();
210 209
			SessionService.registerSession(sessionId, 
211 210
					(String) session.getAttribute("username"), 
212
					(String[]) session.getAttribute("groups"),
211
					(String[]) session.getAttribute("groupnames"),
213 212
					(String) session.getAttribute("password"));
214 213
		}
215 214
		

Also available in: Unified diff