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 aUserSourceProfileConfigrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thecacheValidationTimeoutrecord component.final booleanIndicates whether some other object is "equal to" this one.Returns the value of thefailoverModerecord component.Returns the value of thefailoverProfilerecord component.final inthashCode()Returns a hash code value for this object.Returns the value of thelockoutAttemptsrecord component.Returns the value of thelockoutEnabledrecord component.Returns the value of thelockoutWindowrecord component.Returns the value of thescheduleRestrictedrecord component.final StringtoString()Returns a string representation of this record class.type()Returns the value of thetyperecord 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 aUserSourceProfileConfigrecord class.- Parameters:
type- the value for thetyperecord componentscheduleRestricted- the value for thescheduleRestrictedrecord componentfailoverProfile- the value for thefailoverProfilerecord componentfailoverMode- the value for thefailoverModerecord componentcacheValidationTimeout- the value for thecacheValidationTimeoutrecord componentlockoutEnabled- the value for thelockoutEnabledrecord componentlockoutAttempts- the value for thelockoutAttemptsrecord componentlockoutWindow- the value for thelockoutWindowrecord 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 thetyperecord component.- Specified by:
typein interfaceExtensionPointProfileConfig- Returns:
- the value of the
typerecord component
-
scheduleRestricted
Returns the value of thescheduleRestrictedrecord component.- Returns:
- the value of the
scheduleRestrictedrecord component
-
failoverProfile
Returns the value of thefailoverProfilerecord component.- Returns:
- the value of the
failoverProfilerecord component
-
failoverMode
Returns the value of thefailoverModerecord component.- Returns:
- the value of the
failoverModerecord component
-
cacheValidationTimeout
Returns the value of thecacheValidationTimeoutrecord component.- Returns:
- the value of the
cacheValidationTimeoutrecord component
-
lockoutEnabled
Returns the value of thelockoutEnabledrecord component.- Returns:
- the value of the
lockoutEnabledrecord component
-
lockoutAttempts
Returns the value of thelockoutAttemptsrecord component.- Returns:
- the value of the
lockoutAttemptsrecord component
-
lockoutWindow
Returns the value of thelockoutWindowrecord component.- Returns:
- the value of the
lockoutWindowrecord component
-