Record Class UserSourceProfileConfig
java.lang.Object
java.lang.Record
com.inductiveautomation.ignition.gateway.user.UserSourceProfileConfig
- All Implemented Interfaces:
ExtensionPointProfileConfig
public record UserSourceProfileConfig(String type, Boolean scheduleRestricted, String failoverProfile, AuthenticatorFailoverMode failoverMode, Long cacheValidationTimeout, Boolean lockoutEnabled, Long lockoutAttempts, Long lockoutWindow)
extends Record
implements ExtensionPointProfileConfig
Configuration for a user source profile. All user source profiles will have the contained configuration.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionCreate an UserSourceProfileConfig with default values for all fields.UserSourceProfileConfig
(String type, Boolean scheduleRestricted, String failoverProfile, AuthenticatorFailoverMode failoverMode, Long cacheValidationTimeout, Boolean lockoutEnabled, Long lockoutAttempts, Long lockoutWindow) Creates an instance of aUserSourceProfileConfig
record class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thecacheValidationTimeout
record component.final boolean
Indicates whether some other object is "equal to" this one.Returns the value of thefailoverMode
record component.Returns the value of thefailoverProfile
record component.final int
hashCode()
Returns a hash code value for this object.Returns the value of thelockoutAttempts
record component.Returns the value of thelockoutEnabled
record component.Returns the value of thelockoutWindow
record component.Returns the value of thescheduleRestricted
record component.final String
toString()
Returns a string representation of this record class.type()
Returns the value of thetype
record component.
-
Field Details
-
RESOURCE_TYPE
-
-
Constructor Details
-
UserSourceProfileConfig
Create an UserSourceProfileConfig with default values for all fields.- Parameters:
type
- the type of the user source.
-
UserSourceProfileConfig
public UserSourceProfileConfig(String type, Boolean scheduleRestricted, String failoverProfile, AuthenticatorFailoverMode failoverMode, Long cacheValidationTimeout, Boolean lockoutEnabled, Long lockoutAttempts, Long lockoutWindow) Creates an instance of aUserSourceProfileConfig
record class.- Parameters:
type
- the value for thetype
record componentscheduleRestricted
- the value for thescheduleRestricted
record componentfailoverProfile
- the value for thefailoverProfile
record componentfailoverMode
- the value for thefailoverMode
record componentcacheValidationTimeout
- the value for thecacheValidationTimeout
record componentlockoutEnabled
- the value for thelockoutEnabled
record componentlockoutAttempts
- the value for thelockoutAttempts
record componentlockoutWindow
- the value for thelockoutWindow
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)
. -
type
Returns the value of thetype
record component.- Specified by:
type
in interfaceExtensionPointProfileConfig
- Returns:
- the value of the
type
record component
-
scheduleRestricted
Returns the value of thescheduleRestricted
record component.- Returns:
- the value of the
scheduleRestricted
record component
-
failoverProfile
Returns the value of thefailoverProfile
record component.- Returns:
- the value of the
failoverProfile
record component
-
failoverMode
Returns the value of thefailoverMode
record component.- Returns:
- the value of the
failoverMode
record component
-
cacheValidationTimeout
Returns the value of thecacheValidationTimeout
record component.- Returns:
- the value of the
cacheValidationTimeout
record component
-
lockoutEnabled
Returns the value of thelockoutEnabled
record component.- Returns:
- the value of the
lockoutEnabled
record component
-
lockoutAttempts
Returns the value of thelockoutAttempts
record component.- Returns:
- the value of the
lockoutAttempts
record component
-
lockoutWindow
Returns the value of thelockoutWindow
record component.- Returns:
- the value of the
lockoutWindow
record component
-