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.
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