Hi Guys,
I've got some security related Qs that I wannaa discuss with you. Please help me out with your suggestions as to how to implement security in a EE application and what role JAAS plays in that.
I'm working on spring, hibernate based app in
JBOSS server. As the application is in its early days, it is high time that we are discussing the security implementation we must use for the application. I've implemented declarative security(web.xml and jboss-web.xml and <application-policy> and all that ) with roles defined in the web.xml. I know JBOSS is using JAAS under the hood to carry out the authentication.
So, my first question is, should we rely on app server provided security or better implement our own custom JAAS login module based on Data base? We are using
ZK for presentation and some how we are having some issue with way Login page is rendered to the user if we use declarative security(j_security_check).
So, what JBOSS or any app server for that matter does is to get the login info and authenticate using provided JAAS module. Can't I do that on my own? Why to go with the app server provided security? Does the app server do something extra to secure the application?
Also, I have searched a bit about LDAP server being used as a secured server. What does using JAAS and LDAP together buy me instead of using just a database and JAAS?
I am still new to these things and have just been put on a project that is built from scratch so please bear with me.
Also, I would like to have expert opinions about the security in a EE application and how to go about it considering the security is base don Users, Roles and ....well, Passwords
Thanks !!!