So a user logs into a Windows Server 2008 SP2 (64 bit) through a domain using LDAP authentication.
I then have a Java application that launches. The application has several buttons to launch various other applications, which all use the same LDAP authentication (username/password) as used when the user came into the machine.
The problem (or more annoyance) is the user has to enter there username/password again when launching these apps (even though they already authenticated to windows). I'm wondering if there is a way in the JAVA code to use the current windows authentication to pass the users LDAP username and password into the API call that launches these apps? These apps all have an API I call that I pass in the username and password to authenticate, just currently I'm not passing anything in and letting the user enter it. It would be real nice if I could somehow pass in the LDAP details w/ out having to ask the user for them since they are already in windows.
NOTE: The user authenicated in windows will always be the same user launching to app.
Hopefully, what I'm asking makes sense. I'm not an expereienced windows admin or developer, if anything isn't clear or seems incorrect, just ask for clarification.