Hello guys,
hope you will help me to understand couple of things.
I am developing
web application, which makes additional configurations to desktop application. All of configuration stuff is saved within db.
I use Hibernate for work with database. Database server is:
SQL Server 2005. Web server/servlet container:
Tomcat 6.
I want users to use
windows integrated security so they will access database via their NT account. There will be a chance to track modifications made by users.
There is no need to create additional credentials in case I can use Windows NT login and password.
Can someone help me with this task?
I imagine it like this:
There should be 'Sign in' page where user can enter his/her nt login and password, this information should be verified against Active Directory. If such user exists in AD -- should be saved in the session. Also Filter could be created, which will fire before
servlet each time verifying if user object exists in session.
But I do not know how this login and password could be wired with SQL Server integrated security.
In desktop applications -- it is clear, but what to do in web ones?
If someone will provide me with good written tutorial or suggestions, it will be great!
Thanks in advance.