6 Replies Latest reply on Aug 27, 2009 8:32 PM by pathuri

    Assign default portal to a user role.

      Hello,

      Let say I've defined different portals:
      1. Bank Advisor Portal,
      2. Bank Client Portal,

      and I would like to assign these portal to the following role:
      1. Bank Advisor,
      2. Bank Client

      When a user with one of the following role logs in in the application he should be automatically redirected to the respective portal client1-->Bank Client Portal and not to the portal marked as default.

      I do not know if I missed something in the documentation, but can someone let me know how I can achieve that.

      Regards,

        • 1. Re: Assign default portal to a user role.
          ozguy

          If the portlets are on the default page, when a user logs in and if they have appropriate roles, portlet container will make the portlet available to the user.

          • 2. Re: Assign default portal to a user role.
            vegastyl

            I think the problem here is that JBoss expects there to be a single "default" portal for all users. Although a role can give a user access to a portal (admin user, for instance), it cannot determine which portal will be the user's default when they login. I have not found a way to do this but if someone knows a way, I would be interested in such a feature as well.

            I would suggest that you create your Client portal as your default and then create an Advisor portal. All users would land on the Client portal but those with the advisor role would have access to the Advisor portal much like the admin user has access to the Admin portal.

            • 3. Re: Assign default portal to a user role.

              This can be archived by changing the imlementation of CustomizationManagerService. Search the forum for this, there are couple of examples.

              • 4. Re: Assign default portal to a user role.

                Hello,

                Thanks to all and in particular to vivek_saini07. His advice helped me to solve this issue.

                Regards,

                • 5. Re: Assign default portal to a user role.

                  Hi,

                  We are also trying this taking the lead from vivek_saini07.

                  Would you mind sharing the details on what specific changes you have made to CustomizationManagerService for this feature work?

                  Thanks

                  "jberdat@hotmail.com" wrote:
                  Hello,

                  Thanks to all and in particular to vivek_saini07. His advice helped me to solve this issue.

                  Regards,


                  • 6. Re: Assign default portal to a user role.

                    Sorry! for asking this without going thru all the posts. I think I have got what I need to try from other posts related to this. Will try it out.

                    Thanks

                    "pathuri" wrote:
                    Hi,

                    We are also trying this taking the lead from vivek_saini07.

                    Would you mind sharing the details on what specific changes you have made to CustomizationManagerService for this feature work?

                    Thanks

                    "jberdat@hotmail.com" wrote:
                    Hello,

                    Thanks to all and in particular to vivek_saini07. His advice helped me to solve this issue.

                    Regards,