Class IdentityProviderName

java.lang.Object
com.inductiveautomation.ignition.common.auth.idp.IdentityProviderName
All Implemented Interfaces:
Comparable<IdentityProviderName>

@Deprecated(since="8.3.0") public class IdentityProviderName extends Object implements Comparable<IdentityProviderName>
Deprecated.
This class should only be used for special migration related purposes only.

Immutable wrapper around a raw IdP name String. Sanitizes the raw name such that:

  1. The first character is replaced with an underscore if it is not an underscore or alphabetical
  2. Any remaining characters are replaced with underscores if they are not underscores, alphabetical or numeric

An IdentityProviderName is equal to another if its sanitized name is equal to (ignoring case) the other's sanitized name.

Makes for good consistent hash keys as the hash code is based on the sanitized name converted to all lowercase characters.

When one IdentityProviderName is compared with another, the result is the same as if their sanitized names are compared with each other (ignoring case).