class J4pTargetConfig {

    public JSONObject toJson() {
        JSONObject ret = new JSONObject();
        ret.put("url",url);
        if (user != null) {
            ret.put("user",user);
            ret.put("password",password);
        }
        return ret;
    }

    public  J4pTargetConfig(String pUrl, String pUser, String pPassword);

}