We created one java web application, once user hit my web site it has to take login id as his windows credential login id, but in my case after hosting my web site it is returning server admin user as windows login id every time. Is there any way to get current windows user id in java web application.
If i open my website it has to show my name, if some has open that site it has to show his name.
Thanks