Interface UserSourceProfileKernel
- 
- All Known Implementing Classes:
- AbstractUserSourceProfile,- ActiveDirectoryUserSource,- ADInternalHybridUserSource,- ADtoDBHybridAuthenticator,- DatabaseAutomaticUserSource,- DatabaseExpertUserSource,- InternalUserSource,- LockoutTrackingUserSourceProfileKernel,- UserSourceProfileKernelImpl,- UserSourceProfileKernelWrapper
 
 public interface UserSourceProfileKernelThe nucleus of a User Source Profile. Instances are meant to be fixed and reused per user source profile. Useful for sharing between user source profile proxies.
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description longgetCacheValidationTimeout()GatewayContextgetContext()default UserSourceManagergetManager()longgetProfileId()java.lang.StringgetProfileName()default booleanisLockedOut(java.lang.String user)default 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- 
getContextGatewayContext getContext() - Returns:
- the GatewayContextin which thisUserSourceProfileKernelis running
 
 - 
getManagerdefault UserSourceManager getManager() - Returns:
- the UserSourceManagerrunning in this context
 
 - 
getProfileIdlong getProfileId() - Returns:
- the ID of this user source profile
 
 - 
getProfileNamejava.lang.String getProfileName() - Returns:
- the name of this user source profile
 
 - 
getCacheValidationTimeoutlong getCacheValidationTimeout() - Returns:
- the cache update time-out option
 
 - 
isLockedOutdefault boolean isLockedOut(java.lang.String user) - Parameters:
- user- the username of the user to check
- Returns:
- whether or not the user is locked out
 
 - 
notifyFailedAttemptdefault boolean notifyFailedAttempt(java.lang.String user) - Parameters:
- user- the username of the user who failed to authenticate
- Returns:
- whether or not the user is locked out after failing to authenticate
 
 - 
startupvoid startup(UserSourceManager manager) Called when the user source is created before it is used.
 - 
shutdownvoid shutdown() Called either when the user source has been edited and so it is being restarted, or when the gateway is shutting down.
 
- 
 
-