@Override
    public APIConnection toExternalObject(Connection object)
            throws GuacamoleException {
        return new APIConnection(object);
    }
Translator which converts between Connection objects and APIConnection
objects.
guacamole/src/main/java/org/apache/guacamole/rest/connection/ConnectionObjectTranslator.java