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 aInternalAuthPropertiesResource
record class. -
Method Summary
Modifier and TypeMethodDescriptionfinal boolean
Indicates whether some other object is "equal to" this one.final int
hashCode()
Returns a hash code value for this object.Returns the value of thepasswordComplexity
record component.Returns the value of thepasswordContainsPassword
record component.Returns the value of thepasswordContainsUserName
record component.Returns the value of thepasswordHistory
record component.Returns the value of thepasswordMaxAge
record component.Returns the value of thepasswordMaxRepeatedChars
record component.Returns the value of thepasswordMinLength
record component.final String
toString()
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 aInternalAuthPropertiesResource
record class.- Parameters:
passwordMaxAge
- the value for thepasswordMaxAge
record componentpasswordMinLength
- the value for thepasswordMinLength
record componentpasswordComplexity
- the value for thepasswordComplexity
record componentpasswordHistory
- the value for thepasswordHistory
record componentpasswordContainsPassword
- the value for thepasswordContainsPassword
record componentpasswordContainsUserName
- the value for thepasswordContainsUserName
record componentpasswordMaxRepeatedChars
- the value for thepasswordMaxRepeatedChars
record 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 thepasswordMaxAge
record component.- Returns:
- the value of the
passwordMaxAge
record component
-
passwordMinLength
Returns the value of thepasswordMinLength
record component.- Returns:
- the value of the
passwordMinLength
record component
-
passwordComplexity
Returns the value of thepasswordComplexity
record component.- Returns:
- the value of the
passwordComplexity
record component
-
passwordHistory
Returns the value of thepasswordHistory
record component.- Returns:
- the value of the
passwordHistory
record component
-
passwordContainsPassword
Returns the value of thepasswordContainsPassword
record component.- Returns:
- the value of the
passwordContainsPassword
record component
-
passwordContainsUserName
Returns the value of thepasswordContainsUserName
record component.- Returns:
- the value of the
passwordContainsUserName
record component
-
passwordMaxRepeatedChars
Returns the value of thepasswordMaxRepeatedChars
record component.- Returns:
- the value of the
passwordMaxRepeatedChars
record component
-