myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Josué Alcalde González <>
Subject Re: How to Secure Views in JSF
Date Thu, 24 May 2007 23:22:17 GMT
El jue, 24-05-2007 a las 10:33 -0700, bansi escribió:

> Wondering how to secure views in JSF. 
> My JSF backing bean has access to user Roles populated from the
> database.
> All i am doing now is using rendered attribute to display or not to
> display
> Fields on the Form based on the user Roles
> Any pointers/suggestions will be highly appreciated

I am using rendered too, and a loginBean in session scope with simple

I am also using a PhaseListener for pages with aren't allow for some
roles, where I can redirect changing the viewId to another page.

View raw message