JSF Different Views for different user´s permissions
-
19-06-2021 - |
Question
I am trying to implement user control in my JSF Application. I need different pages for users with different permissions.
What´s the best way to do it?
One idea I had is making a PhaseListener that redirects the user to correct page but I dont like the idea of testing strings in the request recived.
Solution
Like Ravi answered. 'The easiest way I know is to use Primefaces EL extensions for UI authorization'
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow