Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How do you handle security with JSF?

843842Jan 25 2005 — edited Jun 20 2009
How do you handle security with JSF web application?

For example, you have one admin and few users.
How do you protect some pages and how do you show/hide links for different roles (admin, user) in navigation.jsf?

And for example, if I have in HttpSession attr TYPE=admin what to put in jsf page to check for TYPE and if TYPE is wrong to redirect to login.jsp?
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 18 2009
Added on Jan 25 2005
8 comments
374 views