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 boolean
isLockedOut(java.lang.String user)
boolean
notifyFailedAttempt(java.lang.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 Detail
-
notifyFailedAttempt
public boolean notifyFailedAttempt(java.lang.String user)
- 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
public boolean isLockedOut(java.lang.String user)
- 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
public void startup(UserSourceManager manager)
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
-
-