The approach would be to use a filter. Acegi comes with a filter already
configured and independent of any presentation framework (as long as
it's based in servlets)....
If you dont want to introduce another (couple of) framework(s) use a
hand-coded filter. However, I think acegi and spring are always worth a
look ; )
I have seen there's a role property in some myFaces tags, but I'm not
sure how to use it, probably myFaces implementation offers something
but I am not sure. I have sticked to acegi, since it offers many types
of authentication schemes and is highly customizable.
Julian
Eurig Jones wrote:
Thing is I really want to keep to the same framework (JSF)
Julián García wrote:
I use acegi for Spring: *acegi*security.sourceforge.net/
Julian Garcia
Eurig Jones wrote:
I'm trying to decide on a Login/Logout system to protect my files
using JSF.. I've played about with extending NavigationHandler, but
the problem is, it doesn't protect the files which aren't JSF, and
you can still run the JSP files if you wanted to...
How have you people gone about a database driven login/logout system
using Faces?