views:

44

answers:

1

Hi,

I came across programs like ARCserve HA, which they uses windows session credentials as the login with out having me to manually type in the userID and password. How does this works?? The program is actually capable of getting get my window's userID and password??

As my current project which is written in Java requires me to do something similar which uses the windows session credentials as login.

Could anyone provide me with any directions on how should i go about doing this? Any directions will be greatly appreciated.

EDIT

Maybe i should also include that ARCserve HA launches IE, from there i check the option "windows session credentials" as login. Hopefully this additional info might helps.

Kevin

+1  A: 

When Windows is part of an active directory domain it uses Kerberos to perform authentication and single sign for services.

Take a look at Spnego for integrated Windows authentication in Java. Take a look at this link if you want to understand how Kerberos works a little better.

Bottom line, Kerberos passes a ticket around and never sends your password. Once you login at the Windows login screen a ticket is created and you can pass that around to login to other resources. This is why once you login you do not need to authenticate when you access a network share. The ticket system also prevents your password from being stored in RAM.

rancidfishbreath