private CredentialAttributes createAttributes(boolean memoryOnly) {
    var serviceName = SERVICE_NAME_PREFIX + getCredentialsString(this) + '(' + CREDENTIAL_ATTRIBUTES_QUALIFIERS.get(myAuthType) + ')';
    return new CredentialAttributes(serviceName, getUserName(), memoryOnly);
  }
private CredentialAttributes createAttributes(boolean memoryOnly)