Back Forum Reply New

DAO and Baisc Authentication together

Is it possible to have both BASIC authentication and Dao authentication together? I can get both working on their own just fine but not together. I have a site where users log in, etc. etc., but I also want be able to quot;wrapquot; the whole site with a username/password (e.g., I only want certain people to be able to view the qa instance of my app).

Is it possible to have both BASIC authentication and Dao authentication together?

Yes. BASIC authentication requires some repository to authenticate, and the implementation should be completely pluggable.

For example, your basicProcessingFilter has a authenticationManager property which in turn has a providers property which can include a daoAuthenticationProvider.
¥
Back Forum Reply New