3 Replies Latest reply on Jul 28, 2008 12:29 PM by peterj

    Unexpected behaviour of login/logout in JBoss Portal

    simplex-software

      Greetings,

      I'm using JBoss Portal 2.6.5. I created a new portal, named testportal, with the admin console. I go to http://localhost:8080/portal/portal/testportal and I see the default page. I'm logging in. When I'm logging out, instead of going back to the default portal's page, I go at http://localhost:8080/portal/portal/default. Please help as this problem is very disturbing.

      Kind regards,

      nicolas

        • 1. Re: Unexpected behaviour of login/logout in JBoss Portal
          prabhat.jha

          You need to mak your new portal as default portal. In admin ui, where you see list of portal, there should a "Make default" link next to your portal.

          • 2. Re: Unexpected behaviour of login/logout in JBoss Portal
            simplex-software

            My portal starts correctly and it displays the before-login page without beeing the default portal. I'm able to login to my portal without making it the default portal. I should be able to logout and to simply return to the page where I was before the login without making this portal the default portal. This is a bug.

            • 3. Re: Unexpected behaviour of login/logout in JBoss Portal
              peterj

              The behavior you are asking for is the way it used to work. But the results are not what you imagine. If the page you are viewing is restricted to certain roles, then when you logged out, the next thing you saw was the login page because you no longer had access to the page you were one. And the only way out of the situation was to log back in, go to a page that was not restricted, and log out again. It was a huge hassle. The current behavior is much better.

              And desiring a different behavior does not make the current behavior a defect. You can always suggest a different behavior and request it as a new feature.