4 Replies Latest reply on Nov 8, 2010 10:50 AM by xuamao

    link for login , vanishes !

    fernando2010
      HI,
      if a user attempt log In and it doesn't permission on a page/application, show the "HTTP 403 - Access denied to resource etc etc", later return to initial point localhost:8080/portal/public/and show the traditional web of GateIn, but the links for "Sign In", "Register" and "Change Language" doesn't there!! disappear ! right, so I click on the Administrator link, and re-direct to localhost:8080/portal/private and continue the error of above. then, I cant login again until re-start the Jboss server, why ?? Thanks
        • 1. Re: link for login , vanishes !
          ndkhoiits

          Which membership your user had?

          • 2. Re: link for login , vanishes !
            fernando2010

            if a user attempt log In and it doesn't permission on a page/application, show the "HTTP 403 - Access denied to resource etc etc", later return to initial point "localhost:8080/portal/public/" and show the traditional web of GateIn, but the links for "Sign In", "Register" and "Change Language" doesn't there!! disappear !

            right, so I click on the Administrator link, and re-direct to "localhost:8080/portal/private" and continue the error of above. then, I cant login again until re-start the Jboss server, why ??

             

            I using my own (new) username, group and the membership is MEMBER.

             

            thanks

            • 3. Re: link for login , vanishes !
              fernando2010

              image002.jpg

              • 4. Re: link for login , vanishes !
                xuamao

                First of all, what do u means, by "if a user attempt log in?"

                If user is signed in, it is possible that he is not authorized for access some of resources. However the gatein will regard the status of web site as "login".

                The user's identity is already registered in session. If platform is in status of "loged in", the link of "sign on, register, change language" is invisible.

                And it explains, why there is no "sign on, register, change language".

                 

                In principle, after login, there should be a so-called (Banner portlet or something like that ) on the top of page. It seems there is no banner portlet in your page.

                 

                 

                It is possible, that

                1. you have used administrator tools to change the layout of page. ( try to login with root, ->portal-Editor->layout editor->drag Banner Portlet to here)

                And if you are loged in, you should be able to see the banner portlet.

                /*in principle, banner portlet and the link of sign on, register at least one of them should be visible in platform */

                 

                2. You use another username, group name and membership, which is not supported by gatein. So you have this problem.

                But banner portlet should be visible for everyone, so please check your sharedlayout.xml in your gatein.

                 

                <container template="system:/groovy/portal/webui/container/UIContainer.gtmpl"
                  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
                  xsi:schemaLocation="http://www.gatein.org/xml/ns/gatein_objects_1_0 http://www.gatein.org/xml/ns/gatein_objects_1_0"
                  xmlns="http://www.gatein.org/xml/ns/gatein_objects_1_0">
                    <container template="system:/groovy/portal/webui/container/UIToolbarContainer.gtmpl">
                      <access-permissions>*:/platform/users</access-permissions>

                 

                *:/platform/users should be the group name, which you use. If you use another group name, you can also not see the banner portlet.

                1 of 1 people found this helpful