How to use database authentication with the logged in user from windows OS on Spring Batch

60 views Asked by At

I am working on a Spring batch project which will be running on a Windows machine where I have to use NTLM authentication instead of taking the credentials from property file.

It would be great help If I could get some guidance on how to implement it using Spring.

1

There are 1 answers

0
T-Heron On

As you were just looking for guidance on how to implement this in Spring, a contributor on github has a page about this:

Spring Security 3 + Active Directory + NTLMv2

More information concerning the above link, helpful hints from the contributor, and alternative suggestions to this strategy, can be found in this SO thread: Spring 3 and NTLM authentication