public static ClickHouseCredentials fromUserAndPassword(String userName, String password) {
        return new ClickHouseCredentials(userName, password);
    }
Create credentials from user name and password.

@param userName user name
@param password password
@return credentials object for authentication
clickhouse-client/src/main/java/com/clickhouse/client/ClickHouseCredentials.java