Web application Security mechanism
Hi,
Authentication is prime and important part/phase of any web application. Decision has to be made based on the type you want.
Three mechanism available to do so.
1. Agent base
2. Container based
3. Application based
#1 you can use JAAS based mechanism to add agent based authentication in your web app.
#2 Form based authentication is the famous container based authentication. remembered j_security_check action we use to write in action attribute of <form> tag.
#3 This one is the pragmatic approach (as compare to #2 which is declarative), where developer starts getting the data from form and starts security mechanism i.e. custom.
NOTE: You can try all the above with simple tomcat web server.
Authentication is prime and important part/phase of any web application. Decision has to be made based on the type you want.
Three mechanism available to do so.
1. Agent base
2. Container based
3. Application based
#1 you can use JAAS based mechanism to add agent based authentication in your web app.
#2 Form based authentication is the famous container based authentication. remembered j_security_check action we use to write in action attribute of <form> tag.
#3 This one is the pragmatic approach (as compare to #2 which is declarative), where developer starts getting the data from form and starts security mechanism i.e. custom.
NOTE: You can try all the above with simple tomcat web server.
Comments
Post a Comment