Package xal.rbac
Interface AutoLogoutCallback
public interface AutoLogoutCallback
Provides callback for AutoLogout functionality
- Author:
- Ivo List
-
Method Summary
Modifier and TypeMethodDescriptionboolean
autoLogoutConfirm
(RBACSubject subject, int timeoutInSeconds) Called when the RBAC attempts to automatically logout the user due to inactivity.
-
Method Details
-
autoLogoutConfirm
Called when the RBAC attempts to automatically logout the user due to inactivity. The method should returntrue
if the facade should logout the user orfalse
if the user should remain logged in. If there is no response to this call withintimeoutInSeconds
, the RBAC should assume the answer wastrue
.- Parameters:
subject
- the subject that will be logged outtimeoutInSeconds
- 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
-