This discussion is archived
2 Replies Latest reply: Dec 14, 2011 8:23 PM by mlvenkatesh RSS

Use of filter to JSF faces servlet

mlvenkatesh Newbie
Currently Being Moderated
Hi

I have a JSF application which is secured by a custom security framework (similar to SITE MINDER). The security framework after authentication passes the authenticated user name within a in-memory session cookie.

The entire user information like his group and access restrictions (field / UI compoonent level) resides in the application database

I have used a filter to JSF Faces servlet to retrieve the user information from the database and storing in session.

Is this use of filter a good approach?

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points