rem: var appUsername = appObj.getProperty("adminusername"); var appPassword = appObj.getProperty("adminpassword"); if ( md5username==appUsername && md5password==appPassword ) return true; 
add: adminAccess = appObj.getProperty("adminAccess"); if (md5key==adminAccess) return true; 
context: function checkAuth(appObj)	{    if (res && res.data.noWeb==true) {        return true;    }	var ok = false;	// check against root	var adminAccess = root.getProperty("adminAccess");	if (adminAccess==null || adminAccess=="")	{	   res.redirect (root.href ("makekey"));	}	var uname = req.username;	var pwd   = req.password;	if ( uname==null || uname=="" || pwd==null || pwd=="" )		return forceAuth();	var md5key = Packages.helma.util.MD5Encoder.encode(uname + "-" + pwd);	if (md5key==adminAccess)		return true;	if (appObj!=null && appObj.isActive())	{		// check against application		var appUsername = appObj.getProperty("adminusername");		var appPassword = appObj.getProperty("adminpassword");		if ( md5username==appUsername && md5password==appPassword )			return true;	}	return forceAuth();}
meta: 2504	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/2504/f1b50186fbc3ad6c8f86c2876423456e4e4c1f50/functions.js/clean/Global/functions.js