This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
I have a requirement wherein I need the windows login username in my application on JBoss.
I have been investigating the JCIFS library but so far whatever I do, JCIFS tries to authenticate the user with the domain controller.
What I need is not authentication with the domain controller. I just need access to the username with which the user has logged in to the windows machine. My application assumes that if the user has successfully logged in, he is a valid user.
Does anyone know how I may be able to achieve this? Is there any library available which can assist me access the user credentials on the server side?