@Deprecated public class CheckSession extends Object
| Modifier and Type | Method and Description |
|---|---|
static CheckSession |
getInstance()
Deprecated.
method with no events launching when session expires
|
static CheckSession |
getInstance(com.google.gwt.event.shared.HandlerManager eventBus)
Deprecated.
use this method if you want to get an event when session expires
|
String |
getScope()
Deprecated.
|
String |
getUsername()
Deprecated.
|
boolean |
isShowSessionExpiredDialog()
Deprecated.
|
void |
setShowSessionExpiredDialog(boolean showSessionExpiredDialog)
Deprecated.
|
static void |
showLogoutDialog()
Deprecated.
shows the logout dialog
|
static void |
showLogoutDialog(HashMap<String,String> paramsMap)
Deprecated.
shows the logout dialog with redirection appended with parametersMap
|
void |
startPolling()
Deprecated.
use to start checking if the session expired
|
void |
stopPolling()
Deprecated.
use to stop checking if the session expired
|
public static CheckSession getInstance(com.google.gwt.event.shared.HandlerManager eventBus)
eventBus - your GWT webapp instance of HandlerManagerpublic static CheckSession getInstance()
public static void showLogoutDialog()
public static void showLogoutDialog(HashMap<String,String> paramsMap)
paramsMap - a map containing the attrs and related values of what you want after the ?
e.g. aUrl?name=foo&lastname=fiepublic String getUsername()
public String getScope()
public void startPolling()
public void stopPolling()
public boolean isShowSessionExpiredDialog()
public void setShowSessionExpiredDialog(boolean showSessionExpiredDialog)
Copyright © 2019. All Rights Reserved.