Class UserSourceProfileKernelWrapper
java.lang.Object
com.inductiveautomation.ignition.gateway.user.UserSourceProfileKernelWrapper
- All Implemented Interfaces:
UserSourceProfileKernel
- Direct Known Subclasses:
AbstractUserSourceProfile
,LockoutTrackingUserSourceProfileKernel
public abstract class UserSourceProfileKernelWrapper
extends Object
implements UserSourceProfileKernel
-
Method Summary
Modifier and TypeMethodDescriptionlong
boolean
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.
-
Method Details
-
getContext
- Specified by:
getContext
in interfaceUserSourceProfileKernel
- Returns:
- the
GatewayContext
in which thisUserSourceProfileKernel
is running
-
getManager
- Specified by:
getManager
in interfaceUserSourceProfileKernel
- Returns:
- the
UserSourceManager
running in this context
-
getProfileName
- Specified by:
getProfileName
in interfaceUserSourceProfileKernel
- Returns:
- the name of this user source profile
-
getCacheValidationTimeout
public long getCacheValidationTimeout()- Specified by:
getCacheValidationTimeout
in interfaceUserSourceProfileKernel
- Returns:
- the cache update time-out option
-
isLockedOut
- Specified by:
isLockedOut
in interfaceUserSourceProfileKernel
- Parameters:
user
- the username of the user to check- Returns:
- whether or not the user is locked out
-
notifyFailedAttempt
- Specified by:
notifyFailedAttempt
in interfaceUserSourceProfileKernel
- Parameters:
user
- the username of the user who failed to authenticate- Returns:
- whether or not the user is locked out after failing to authenticate
-
startup
Description copied from interface:UserSourceProfileKernel
Called when the user source is created before it is used.- Specified by:
startup
in interfaceUserSourceProfileKernel
-
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
-