| 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.
|
 |
 |
|
|
subject: JSF security question
|
|
|