• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Paul Clapham
  • Ron McLeod
Sheriffs:
  • Jeanne Boyarsky
  • Liutauras Vilda
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Roland Mueller
  • Piet Souris
Bartenders:

Showing or hiding portlet or pages based on the user attributes

 
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

I am working on a portal using JSR 168 Portlet in webSphere portal 6.0. I need to show/hide the portlets/pages depending on the attributes of the logged in user. I heard that we can do this using the dynamic configuration by putting the roles in a config file and these roles will be picked by portal administration. Then assign these dynamic roles to pages or portlets using portal administration.
Can someone please help me to know what is that config file is and provide me some good tute on that.

Thanks
Amit
 
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Amit,

Showing/hiding of portlets/pages can be achieved using the Visibility Rules created using the Personalization Rule Picker provided by WPS 6.0. In some of the cases Attribute based Administration using Access Control can also be useful.

Following links from IBM Infocenter for WPS 6.0 may be useful
Visibility Rules
Hiding pages on the site
Attribute Based Administration
[ June 17, 2008: Message edited by: Hemant Sharma ]
 
author and cow tipper
Posts: 5009
1
Hibernate Spring Tomcat Server
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
When you deploy portlets, or create portal pages, you can set rights on the portlet, and you can set rights on the various page nodes that are created. Then, based on the role of the user logged into the system, they will or will not be able to see the given page.

-Cameron McKenzie
 
Amit Mittal
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks Hemant and Cameron for your responses.
Your suggestion are really helpful and I already tried assigning roles in admin consol and it is working. What I was looking for some kind of dynamic groups.
Like I heard that there is a config file in wps in which we can define groups or users and when we come to admin portal, we will see these groups dynamically and assign them to the portlets/pages.
Can you share some info about that?

Thanks
Amit
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic