public HttpWaitStrategy withBasicCredentials(String username, String password) {
        this.username = username;
        this.password = password;
        return this;
    }
Authenticate with HTTP Basic Authorization credentials.

@param username the username
@param password the password
@return this
core/src/main/java/org/testcontainers/containers/wait/strategy/HttpWaitStrategy.java