public String getDomain() {
        return this.principal.getDomain();
    }
Retrieves the name to authenticate with.

@return String the domain these credentials are intended to authenticate with.
httpclient5/src/main/java/org/apache/hc/client5/http/auth/NTCredentials.java