Interface UserSourceProfileKernel

    • Method Detail

      • getProfileId

        long getProfileId()
        Returns:
        the ID of this user source profile
      • getProfileName

        java.lang.String getProfileName()
        Returns:
        the name of this user source profile
      • getCacheValidationTimeout

        long getCacheValidationTimeout()
        Returns:
        the cache update time-out option
      • isLockedOut

        default boolean isLockedOut​(java.lang.String user)
        Parameters:
        user - the username of the user to check
        Returns:
        whether or not the user is locked out
      • notifyFailedAttempt

        default 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
      • startup

        void startup​(UserSourceManager manager)
        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.