Accessing FacesContext within a Filter
843844Aug 21 2007 — edited Aug 22 2007I am trying to create a filter which determines whether a user is logged in or not. To do this I need to access the applications session beans which requires a FacesContext object. Unfortunately whenever I run FacesContext.getCurrentInstance() within the filter I always get null returned. Any ideas on a work around? Thanks.