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

public class IdpAdapterName extends Object implements Comparable<IdpAdapterName>

Wrapper around a raw IdP Adapter 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 IdpAdapaterName 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 IdpAdapterName is compared with another, the result is the same as if their sanitized names are compared with each other (ignoring case).