public DefaultMuleSession(MuleSession session) { this.id = session.getId(); this.securityContext = session.getSecurityContext(); this.valid = session.isValid(); this.properties = Collections.synchronizedMap(new CaseInsensitiveHashMap()); for (String key : session.getPropertyNamesAsSet()) { this.properties.put(key, createTypedValue(session, key)); } }