I have spring security setup with
Right now it looks at the user in the xml file, this is not optimal, I want to look in my database for the user. How do I do that?
Here is my security.xml file:
I think maybe what I need to do is make a hibernate bean for users? Do I need to make one for roles as well? How do I tell it to look at my hibernate connection instead of the xml file?
I am basically looking to do something like this:
But with hibernate.
No comments:
Post a Comment