CredentialAttributes (boolean memoryOnly) { final String serviceName = SERVICE_NAME_PREFIX + getCredentialsString(this) + "(" + CREDENTIAL_ATTRIBUTES_QUALIFIERS.get(myAuthType) + ")"; return new CredentialAttributes(serviceName, getUserName(), null, memoryOnly); }