6 Replies Latest reply on Aug 23, 2013 3:59 AM by trong.tran

    Authorization in Gatein Server...

    pratapcmc

      Hi All,

               I need help on authorization in gatein server ,so that it could be portlet based.

       

      Like, If I login as user1 then i can view portlet1,portlet2,

              if I login as user2 then i can view portlet3,portlet4, etc..

       

       

      portlet1,portlet2,portlet3,portlet4 will be in same page. visibility of portlet will be user based.

       

      please guide me on this......

        • 1. Re: Authorization in Gatein Server...
          pratapcmc

          Hi Matt wringe,

                                   I need your help..

           

          Any Body ....Plz guide me..

           

          Thanks,

          Pratap

          • 2. Re: Authorization in Gatein Server...
            trong.tran

            In Page layout edition, you could be able to specify access permission for each portlet AND the access permission is set based on the user memberships

            1 of 1 people found this helpful
            • 3. Re: Authorization in Gatein Server...
              pratapcmc

              Hi Trong Tran,

                                   Thanks for the answer, could u clarify a little more. is there any config file (.xml)  for customising authorization.

              How picketbox and picketlink will help in this?

               

               

              Any body ....plz help....

               

               

              Thanks,

              Pratap.

              • 4. Re: Authorization in Gatein Server...
                trong.tran

                If you signed-in as an administrator like root, you could be able to edit the page by go to Site Editor -> Edit Page.

                 

                In layout editing, you will see an Edit button icon on when mouseover on each portlet element. By clicking on the icon, the Portlet Setting form will show up AND you would see the Access Permission tab for managing who can access to the portlet.

                • 5. Re: Authorization in Gatein Server...
                  pratapcmc

                  Hi Trong Tran,

                                      could we use picketbox/picketlink for authorization?

                  could u plz guide me on that....

                   

                   

                  Thanks,

                  Pratap.

                  • 6. Re: Authorization in Gatein Server...
                    trong.tran

                    Hi Pratap,

                     

                    I'm not familar with picketbox, so I have no idea how to use it for authorization.

                     

                    However, I recommend you to take a look at org.exoplatform.portal.config.UserACL service which is being  used in portal to check authorization based on user memberships . I think you might need to implement your own UserACL implementation which is to integrate with Picketbox.