code: public static String getPropertyEnv(String key, Map<?,?> securityProps)
  	{
  		Object value = null;
  		
  		if(securityProps != null)
  		{
  			value = securityProps.get(key);
  			if(value != null)
  				return value.toString();			
  		}
  		
  		 value = getPropertyEnv(key, "");
  		 String text = value.toString();
  		 if(text.length() == 0)
  			 return null;
  		 
  		return text;
  	}
docs: ------------------------------------------------