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 Summary
FieldsModifier and TypeFieldDescriptionAn instance of InternalAuthPropertiesResource with default values for all fields. -
Constructor Summary
ConstructorsConstructorDescriptionCreate an InternalAuthPropertiesResource with default values for all fields.InternalAuthPropertiesResource(Integer passwordMaxAge, Integer passwordMinLength, Integer passwordComplexity, Integer passwordHistory, Boolean passwordContainsPassword, Boolean passwordContainsUserName, Integer passwordMaxRepeatedChars) Creates an instance of aInternalAuthPropertiesResourcerecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of thepasswordComplexityrecord component.Returns the value of thepasswordContainsPasswordrecord component.Returns the value of thepasswordContainsUserNamerecord component.Returns the value of thepasswordHistoryrecord component.Returns the value of thepasswordMaxAgerecord component.Returns the value of thepasswordMaxRepeatedCharsrecord component.Returns the value of thepasswordMinLengthrecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
DEFAULT
An instance of InternalAuthPropertiesResource with default values for all fields.
-
-
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 aInternalAuthPropertiesResourcerecord class.- Parameters:
passwordMaxAge- the value for thepasswordMaxAgerecord componentpasswordMinLength- the value for thepasswordMinLengthrecord componentpasswordComplexity- the value for thepasswordComplexityrecord componentpasswordHistory- the value for thepasswordHistoryrecord componentpasswordContainsPassword- the value for thepasswordContainsPasswordrecord componentpasswordContainsUserName- the value for thepasswordContainsUserNamerecord componentpasswordMaxRepeatedChars- the value for thepasswordMaxRepeatedCharsrecord component
-
-
Method Details
-
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. -
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. -
equals
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 withObjects::equals(Object,Object). -
passwordMaxAge
Returns the value of thepasswordMaxAgerecord component.- Returns:
- the value of the
passwordMaxAgerecord component
-
passwordMinLength
Returns the value of thepasswordMinLengthrecord component.- Returns:
- the value of the
passwordMinLengthrecord component
-
passwordComplexity
Returns the value of thepasswordComplexityrecord component.- Returns:
- the value of the
passwordComplexityrecord component
-
passwordHistory
Returns the value of thepasswordHistoryrecord component.- Returns:
- the value of the
passwordHistoryrecord component
-
passwordContainsPassword
Returns the value of thepasswordContainsPasswordrecord component.- Returns:
- the value of the
passwordContainsPasswordrecord component
-
passwordContainsUserName
Returns the value of thepasswordContainsUserNamerecord component.- Returns:
- the value of the
passwordContainsUserNamerecord component
-
passwordMaxRepeatedChars
Returns the value of thepasswordMaxRepeatedCharsrecord component.- Returns:
- the value of the
passwordMaxRepeatedCharsrecord component
-