Record Class InternalAuthPropertiesResource

java.lang.Object
java.lang.Record
com.inductiveautomation.ignition.gateway.authentication.resources.InternalAuthPropertiesResource

public record InternalAuthPropertiesResource(Integer passwordMaxAge, Integer passwordMinLength, Integer passwordComplexity, Integer passwordHistory, Boolean passwordContainsPassword, Boolean passwordContainsUserName, Integer passwordMaxRepeatedChars) extends Record
Properties for the internal authentication profile.
  • Field Details

  • Constructor Details

    • InternalAuthPropertiesResource

      public InternalAuthPropertiesResource()
      Create an InternalAuthPropertiesResource with default values for all fields.
    • InternalAuthPropertiesResource

      public InternalAuthPropertiesResource(Integer passwordMaxAge, Integer passwordMinLength, Integer passwordComplexity, Integer passwordHistory, Boolean passwordContainsPassword, Boolean passwordContainsUserName, Integer passwordMaxRepeatedChars)
      Creates an instance of a InternalAuthPropertiesResource record class.
      Parameters:
      passwordMaxAge - the value for the passwordMaxAge record component
      passwordMinLength - the value for the passwordMinLength record component
      passwordComplexity - the value for the passwordComplexity record component
      passwordHistory - the value for the passwordHistory record component
      passwordContainsPassword - the value for the passwordContainsPassword record component
      passwordContainsUserName - the value for the passwordContainsUserName record component
      passwordMaxRepeatedChars - the value for the passwordMaxRepeatedChars record component
  • Method Details

    • toString

      public final String toString()
      Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • hashCode

      public final int hashCode()
      Returns a hash code value for this object. The value is derived from the hash code of each of the record components.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object o)
      Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared with Objects::equals(Object,Object).
      Specified by:
      equals in class Record
      Parameters:
      o - the object with which to compare
      Returns:
      true if this object is the same as the o argument; false otherwise.
    • passwordMaxAge

      public Integer passwordMaxAge()
      Returns the value of the passwordMaxAge record component.
      Returns:
      the value of the passwordMaxAge record component
    • passwordMinLength

      public Integer passwordMinLength()
      Returns the value of the passwordMinLength record component.
      Returns:
      the value of the passwordMinLength record component
    • passwordComplexity

      public Integer passwordComplexity()
      Returns the value of the passwordComplexity record component.
      Returns:
      the value of the passwordComplexity record component
    • passwordHistory

      public Integer passwordHistory()
      Returns the value of the passwordHistory record component.
      Returns:
      the value of the passwordHistory record component
    • passwordContainsPassword

      public Boolean passwordContainsPassword()
      Returns the value of the passwordContainsPassword record component.
      Returns:
      the value of the passwordContainsPassword record component
    • passwordContainsUserName

      public Boolean passwordContainsUserName()
      Returns the value of the passwordContainsUserName record component.
      Returns:
      the value of the passwordContainsUserName record component
    • passwordMaxRepeatedChars

      public Integer passwordMaxRepeatedChars()
      Returns the value of the passwordMaxRepeatedChars record component.
      Returns:
      the value of the passwordMaxRepeatedChars record component