posted 12 years ago
OK, this is more an general enquiry than anything...
This isn't fully working code; in fact it was written quickly so is more pseudo code than real code.
I'm just wondering, from a 'stupidly simple' user login point-of-view; what do JAAS, j_security_checker, Shiro etc do
which this doesn't (excluding Realms for now, will look at that later.)?
Why would (if at all) this be an unsecure (ineffective) method of simply checking a user's username/password and allowing them
to a secure page if authenticated, else redirecting them to the login screen. By that I mean is there a way you could do XYZ and always be authenticated.
The URL
web.xml
Example Filter
Cheers in advance