Interface UserSourceProfileKernel
- All Known Implementing Classes:
AbstractUserSourceProfile
,ActiveDirectoryUserSource
,ADInternalHybridUserSource
,ADtoDBHybridAuthenticator
,DatabaseAutomaticUserSource
,DatabaseExpertUserSource
,InternalUserSource
,LockoutTrackingUserSourceProfileKernel
,UserSourceProfileKernelImpl
,UserSourceProfileKernelWrapper
public interface UserSourceProfileKernel
The 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 Summary
Modifier and TypeMethodDescriptionlong
default UserSourceManager
long
default boolean
isLockedOut
(String user) default 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
GatewayContext getContext()- Returns:
- the
GatewayContext
in which thisUserSourceProfileKernel
is running
-
getManager
- Returns:
- the
UserSourceManager
running in this context
-
getProfileId
long getProfileId()- Returns:
- the ID of this user source profile
-
getProfileName
String getProfileName()- Returns:
- the name of this user source profile
-
getCacheValidationTimeout
long getCacheValidationTimeout()- Returns:
- the cache update time-out option
-
isLockedOut
- Parameters:
user
- the username of the user to check- Returns:
- whether or not the user is locked out
-
notifyFailedAttempt
- 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
Called when the user source is created before it is used. -
shutdown
void shutdown()Called either when the user source has been edited and so it is being restarted, or when the gateway is shutting down.
-