• 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
  • Jeanne Boyarsky
  • Ron McLeod
Sheriffs:
  • Paul Clapham
  • Liutauras Vilda
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
Bartenders:

Hiding a JBoss portlet

 
Ranch Hand
Posts: 49
  • Likes 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

I have a JBoss portal page with 5-6 portlets.
How can I hide certain portlets based on the security constraints of the user?

Or Can I hide portlet based on any other scenario?

Thanks!!
 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi..
i have the same requirements ..can find a way to show / hide jboss portlets based on liscencing terms ..
but i found that the portlet related info are parsed into the database into JCR and user info in idm .. is there a way to manipulate this info to show hide portlets based on my dynamic terms
 
dwarakanathan thiru
Ranch Hand
Posts: 49
  • Likes 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
Every portlet can be shown or hid based on the user role. You have to define the role at the portlet-instance level.
And assign the roles to the users who need to view the portlet in your portal page.

Learn more about <security-constraint> at portlet & portal object level.
 
rakesh ramesan
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi ..

my app requires user to buy license on certain features as and when required and each license has an expiration .. so how could i fit my requirements to disable/enable the portlet according to these terms

Thanks..
 
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi ..

i have created a jboss portlet application where i need to show/hide certain portlets based on the user liscence (say the customer enter a liscence key > the application validates the liscence and then enable a portlet which comes with the liscence .) how can i implement the said.
 
I’m tired of walking, and will rest for a minute and grow some wheels. This is the promise of this tiny ad:
Smokeless wood heat with a rocket mass heater
https://woodheat.net
reply
    Bookmark Topic Watch Topic
  • New Topic