best choose for authencation and authorization on java web applications
Well, I want to know which is the best solutions for authentication and authorization on java web application.
the most easy to use?
the most flexible ?
the most used on java community?
and your opnion about your favorite mode (framework, way,...) to authencation and authorization java web app (jsf,jpa).
and links to good tutorials.
Message was edited by:
dreampeppers99
# 2
It depends on the requirements and the purpose of the application.
There are at least two popular kinds of authentication and authorization: basic authentication and form based authentication. Basic authentication goes through the HTTP headers and is configureable in web.xml. Form based authentication goes through POST (GET is possible, but discouraged as the paramerters will be visible in the in request URI otherwise) and is configureable in web.xml (j_security_check) as well as with an own solution, generally using a database, but customized configuration files on disk are also possible.
Google using those two keywords and you'll find a lot of information.