Package xal.rbac

Interface AutoLogoutCallback


public interface AutoLogoutCallback
Provides callback for AutoLogout functionality
Author:
Ivo List
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    autoLogoutConfirm(RBACSubject subject, int timeoutInSeconds)
    Called when the RBAC attempts to automatically logout the user due to inactivity.
  • Method Details

    • autoLogoutConfirm

      boolean autoLogoutConfirm(RBACSubject subject, int timeoutInSeconds)
      Called when the RBAC attempts to automatically logout the user due to inactivity. The method should return true if the facade should logout the user or false if the user should remain logged in. If there is no response to this call within timeoutInSeconds, the RBAC should assume the answer was true .
      Parameters:
      subject - the subject that will be logged out
      timeoutInSeconds - the timeout in seconds after which RBAC will assume the answer was true
      Returns:
      true if the user can be logged out or false otherwise