code: public Map<String, LayerExtraInfo> securityCloneLayerExtraInfo(Map<String, LayerExtraInfo> extraInfoMap) {
  		Map<String, LayerExtraInfo> res = new HashMap<String, LayerExtraInfo>();
  		for (Map.Entry<String, LayerExtraInfo> entry : extraInfoMap.entrySet()) {
  			LayerExtraInfo value = entry.getValue();
  			if (!(value instanceof ServerSideOnlyInfo)) {
  				res.put(entry.getKey(), value);
  			}
  		}
  		return res;
  	}
docs: Clone a {@link org.geomajas.configuration.LayerInfo#extraInfo} considering what may be copied to the client.
  
  @param extraInfoMap map of extra info
  @return cloned copy including only records which are not {@link ServerSideOnlyInfo}