Class SessionManager

    • Constructor Detail

      • SessionManager

        public SessionManager()
    • Method Detail

      • isUserLoggedIn

        public static boolean isUserLoggedIn​(Properties ctx)
      • setSessionApplication

        public static void setSessionApplication​(IWebClient app)
      • getAppDesktop

        public static IDesktop getAppDesktop()
      • getSessionApplication

        public static IWebClient getSessionApplication()
      • logoutSession

        public static void logoutSession()
      • logoutSessionAfterBrowserDestroyed

        public static void logoutSessionAfterBrowserDestroyed()
        Perform logout after user close a browser tab without first logging out. Usually this is invoke from SessionContextListener and developer shouldn't call this directly.
      • changeRole

        public static void changeRole​(MUser user)
        Parameters:
        user -