docs: protected Credentials configureCredentials(AuthConfiguration auth) {
  
          if (null != auth.getCredentialType() && auth.getCredentialType().equalsIgnoreCase(AuthConfiguration.NT_CREDS)) {
              return new NTCredentials(auth.getUsername(), auth.getPassword(), auth.getHostname(), auth.getDomain());
          } else {
              return new UsernamePasswordCredentials(auth.getUsername(), auth.getPassword());
          }
  
      }