How control access and rights in JSF?
问题 I would like to control the access after the user log in my system. For example: administrator : can add, delete and give rights to employee employee : fill forms only ... So after knowing which right the user has, checking in database, I would like to restrict what this user can see and do. There's a simple way to do that ? EDIT @WebFilter("/integra/user/*") public class LoginFilter implements Filter { @Override public void doFilter(ServletRequest request, ServletResponse response,