public UserDataConnection init(UserData data, String identifier,
            UserData.Connection connection) {

        this.identifier = identifier;
        this.data = data;
        this.connection = connection;

        return this;

    }
Initializes this UserDataConnection with the given data, unique
identifier, and connection information. This function MUST be invoked
before any particular UserDataConnection is actually used.

@param data
    The UserData that this connection should manage.

@param identifier
    The identifier associated with this connection within the given
    UserData.

@param connection
    The connection data associated with this connection within the given
    UserData.

@return
    A reference to this UserDataConnection.
extensions/guacamole-auth-json/src/main/java/org/apache/guacamole/auth/json/user/UserDataConnection.java