fluid-api/src/main/java/com/fluidbpm/program/api/vo/ws/auth/AuthEncryptedData.java
@Override
    public JSONObject toJsonObject() throws JSONException {

        JSONObject returnVal = new JSONObject();

        returnVal.put(JSONMapping.TICKET_EXPIRES, this.getTicketExpires());
        returnVal.put(JSONMapping.ROLE_LISTING, this.getRoleListing());
        returnVal.put(JSONMapping.SESSION_KEY, this.getSessionKeyBase64());

        return returnVal;
    }
@Override
    public JSONObject toJsonObject() throws JSONException {

        JSONObject returnVal = new JSONObject();

        returnVal.put(JSONMapping.TICKET_EXPIRES, this.getTicketExpires());
        returnVal.put(JSONMapping.ROLE_LISTING, this.getRoleListing());
        returnVal.put(JSONMapping.SESSION_KEY, this.getSessionKeyBase64());

        return returnVal;
    }
Conversion to {@code JSONObject} from Java Object.

@return {@code JSONObject} representation of {@code AuthEncryptedData}
@throws JSONException If there is a problem with the JSON Body.