0 Replies Latest reply on May 26, 2014 6:21 AM by xybrek

    Blank page when using Errai Security

    xybrek

      We managed to make Errai Security with Picketlink work with JBoss instance (not on Jetty), the problem we are having now is, when we log in we have this method that we inject the mainPage into the RootPanel:

       

      if (getUser) {

        RootPanel.get().add(mainPage);

      } else {

        RootPanel.get().add(login);

      }

       

      The way it works before having Errai security, is that on @EntryPoint we check for the user and if its logged in we inject the mainPage else the login page. This worked fine before then after adding security, only the Login page shows up, and after login and page reload, and the user is fetched from Errai security, when we inject the mainPage it's blank. What could be the problem?