• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Showing or hiding portlet or pages based on the user attributes

 
Amit Mittal
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • 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
 
Hemant Sharma
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
  • 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 ]
 
Cameron Wallace McKenzie
author and cow tipper
Saloon Keeper
Posts: 4968
1
Hibernate Spring Tomcat Server
  • Mark post as helpful
  • send pies
  • 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
  • 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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic