@Override
    public int hashCode() {

        // The various properties will never be null
        assert(username != null);
        assert(identifier != null);

        // Derive hashcode from username and connection identifier
        int hash = 5;
        hash = 37 * hash + username.hashCode();
        hash = 37 * hash + identifier.hashCode();
        return hash;

    }
Creates a new seat which associated the given user with the given
connection or connection group.

@param username
    The username of the user using this seat.

@param identifier
    The identifier of the connection or connection group associated with
    this seat.
extensions/guacamole-auth-jdbc/modules/guacamole-auth-jdbc-base/src/main/java/org/apache/guacamole/auth/jdbc/tunnel/Seat.java