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 java.lang.Object implements UserSourceProfileKernel
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description longgetCacheValidationTimeout()GatewayContextgetContext()UserSourceManagergetManager()longgetProfileId()java.lang.StringgetProfileName()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.
-
-
-
Method Detail
-
getContext
public GatewayContext getContext()
- Specified by:
getContextin interfaceUserSourceProfileKernel- Returns:
- the
GatewayContextin which thisUserSourceProfileKernelis running
-
getManager
public UserSourceManager getManager()
- Specified by:
getManagerin interfaceUserSourceProfileKernel- Returns:
- the
UserSourceManagerrunning in this context
-
getProfileId
public long getProfileId()
- Specified by:
getProfileIdin interfaceUserSourceProfileKernel- Returns:
- the ID of this user source profile
-
getProfileName
public java.lang.String getProfileName()
- Specified by:
getProfileNamein interfaceUserSourceProfileKernel- Returns:
- the name of this user source profile
-
getCacheValidationTimeout
public long getCacheValidationTimeout()
- Specified by:
getCacheValidationTimeoutin interfaceUserSourceProfileKernel- Returns:
- the cache update time-out option
-
isLockedOut
public boolean isLockedOut(java.lang.String user)
- Specified by:
isLockedOutin interfaceUserSourceProfileKernel- Parameters:
user- the username of the user to check- Returns:
- whether or not the user is locked out
-
notifyFailedAttempt
public boolean notifyFailedAttempt(java.lang.String user)
- Specified by:
notifyFailedAttemptin 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
public void startup(UserSourceManager manager)
Description copied from interface:UserSourceProfileKernelCalled when the user source is created before it is used.- Specified by:
startupin interfaceUserSourceProfileKernel
-
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
-
-