Hi,
I'm now try to use Hibernate and Srping for my application
I can add / edit/ delete on my application,
but I can't imagine how can I let Spring or Hibernate manage login session for the application.
Can any please advise where should I get start for login authenthication by Spring/Hibernate ?
please advise
Hi,
but I can't imagine how can I let Spring or Hibernate manage login session for the application.
There are couple of things that we need to know,
there is a framework provided by spring called as spring framework, this framework main features are dependency Injection, template pattern for jms,jdbc and so on, reduces boiler plate coding(template pattern), support for declarative transactions, hooks to quartz, provides a testing framework,mvc framework.
there are many more features provided by this framework.
hibernate is an orm solution which tries to enhance productivity.both of these framework until now dont have anything to do with security or login authentication and authorization.
but you could use spring framework in the front end and middle tier and hibernate at the dao layer.
now enters the spring security framework, it leverages the core spring framework and provides features needed for authentication and authorization.
download the spring security and go through the reference material which good enough,
Thanks for reply Code:
now enters the spring security framework, it leverages the core spring framework and provides features needed for authentication and authorization.
Do you mean acegi security ?
Hi,
formerly it was known as acegi security ,
but now it is Spring security
Thanks for help |