Class CheckSession

    • Method Detail

      • getInstance

        public static CheckSession getInstance​(com.google.gwt.event.shared.HandlerManager eventBus)
        Deprecated.
        use this method if you want to get an event when session expires
        Parameters:
        eventBus - your GWT webapp instance of HandlerManager
      • getInstance

        public static CheckSession getInstance()
        Deprecated.
        method with no events launching when session expires
      • showLogoutDialog

        public static void showLogoutDialog()
        Deprecated.
        shows the logout dialog
      • showLogoutDialog

        public static void showLogoutDialog​(HashMap<String,​String> paramsMap)
        Deprecated.
        shows the logout dialog with redirection appended with parametersMap
        Parameters:
        paramsMap - a map containing the attrs and related values of what you want after the ? e.g. aUrl?name=foo&lastname=fie
      • getUsername

        public String getUsername()
        Deprecated.
      • getScope

        public String getScope()
        Deprecated.
      • startPolling

        public void startPolling()
        Deprecated.
        use to start checking if the session expired
      • stopPolling

        public void stopPolling()
        Deprecated.
        use to stop checking if the session expired
      • isShowSessionExpiredDialog

        public boolean isShowSessionExpiredDialog()
        Deprecated.
      • setShowSessionExpiredDialog

        public void setShowSessionExpiredDialog​(boolean showSessionExpiredDialog)
        Deprecated.