Class LockoutTrackingUserSourceProfileKernel
- java.lang.Object
-
- com.inductiveautomation.ignition.gateway.user.UserSourceProfileKernelWrapper
-
- com.inductiveautomation.ignition.gateway.user.LockoutTrackingUserSourceProfileKernel
-
- All Implemented Interfaces:
UserSourceProfileKernel
public class LockoutTrackingUserSourceProfileKernel extends UserSourceProfileKernelWrapper
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanisLockedOut(java.lang.String user)booleannotifyFailedAttempt(java.lang.String user)voidshutdown()Called either when the user source has been edited and so it is being restarted, or when the gateway is shutting down.voidstartup(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 Detail
-
notifyFailedAttempt
public boolean notifyFailedAttempt(java.lang.String user)
- Specified by:
notifyFailedAttemptin interfaceUserSourceProfileKernel- Overrides:
notifyFailedAttemptin 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
public boolean isLockedOut(java.lang.String user)
- Specified by:
isLockedOutin interfaceUserSourceProfileKernel- Overrides:
isLockedOutin classUserSourceProfileKernelWrapper- Parameters:
user- the username of the user to check- Returns:
- whether or not the user is locked out
-
startup
public void startup(UserSourceManager manager)
Description copied from interface:UserSourceProfileKernelCalled when the user source is created before it is used.- Specified by:
startupin interfaceUserSourceProfileKernel- Overrides:
startupin classUserSourceProfileKernelWrapper
-
shutdown
public void shutdown()
Description copied from interface:UserSourceProfileKernelCalled either when the user source has been edited and so it is being restarted, or when the gateway is shutting down.- Specified by:
shutdownin interfaceUserSourceProfileKernel- Overrides:
shutdownin classUserSourceProfileKernelWrapper
-
-