Class LockoutTrackingUserSourceProfileKernel
java.lang.Object
com.inductiveautomation.ignition.gateway.user.UserSourceProfileKernelWrapper
com.inductiveautomation.ignition.gateway.user.LockoutTrackingUserSourceProfileKernel
- All Implemented Interfaces:
UserSourceProfileKernel
-
Method Summary
Modifier and TypeMethodDescriptionboolean
isLockedOut
(String user) boolean
notifyFailedAttempt
(String user) void
shutdown()
Called either when the user source has been edited and so it is being restarted, or when the gateway is shutting down.void
startup
(UserSourceManager manager) Called when the user source is created before it is used.Methods inherited from class com.inductiveautomation.ignition.gateway.user.UserSourceProfileKernelWrapper
getCacheValidationTimeout, getContext, getManager, getProfileId, getProfileName
-
Method Details
-
notifyFailedAttempt
- Specified by:
notifyFailedAttempt
in interfaceUserSourceProfileKernel
- Overrides:
notifyFailedAttempt
in classUserSourceProfileKernelWrapper
- Parameters:
user
- the username of the user who failed to authenticate- Returns:
- whether or not the user is locked out after failing to authenticate
-
isLockedOut
- Specified by:
isLockedOut
in interfaceUserSourceProfileKernel
- Overrides:
isLockedOut
in classUserSourceProfileKernelWrapper
- Parameters:
user
- the username of the user to check- Returns:
- whether or not the user is locked out
-
startup
Description copied from interface:UserSourceProfileKernel
Called when the user source is created before it is used.- Specified by:
startup
in interfaceUserSourceProfileKernel
- Overrides:
startup
in classUserSourceProfileKernelWrapper
-
shutdown
public void shutdown()Description copied from interface:UserSourceProfileKernel
Called either when the user source has been edited and so it is being restarted, or when the gateway is shutting down.- Specified by:
shutdown
in interfaceUserSourceProfileKernel
- Overrides:
shutdown
in classUserSourceProfileKernelWrapper
-