aspose file tools
The moose likes JSF and the fly likes JSF security question Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » JSF
Reply Bookmark "JSF security question" Watch "JSF security question" New topic
Author

JSF security question

Luke Murphy
Ranch Hand

Joined: May 12, 2010
Posts: 299
Hi,
Suppose I have a view and I wish to only display some of the components based on the role / group of the user?
What is smartest way to do this using JSF?
Thanks.
Wouter Oet
Saloon Keeper

Joined: Oct 25, 2008
Posts: 2700

You can use the rendered attribute on the components to render them based on roles/groups.


"Any fool can write code that a computer can understand. Good programmers write code that humans can understand." --- Martin Fowler
Please correct my English.
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: JSF security question
 
Similar Threads
Suggest good book for JSF
Spring+ hibernate or JSF+EJB3
Good Books to learn basics of JSF
jsf panelGrid
confirm of h:commandLink