public ModeledSharingProfile getSharingProfile() {
        return sharingProfile;
    }
Returns the sharing profile that was used to access the connection
associated with this connection record. If the connection was accessed
directly (without involving a sharing profile), this will be null.

@return
    The sharing profile that was used to access the connection
    associated with this connection record, or null if the connection
    was accessed directly.
extensions/guacamole-auth-jdbc/modules/guacamole-auth-jdbc-base/src/main/java/org/apache/guacamole/auth/jdbc/tunnel/ActiveConnectionRecord.java