Use windows session credentials as login?? How does it work??

删除回忆录丶 提交于 2019-12-13 12:21:57

问题


I came across programs like ARCserve HA, which use windows session credentials as the login without having me to manually type in the userID and password. How does this work?? The program is actually capable of getting 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 help.

Kevin


回答1:


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.



来源:https://stackoverflow.com/questions/3464229/use-windows-session-credentials-as-login-how-does-it-work

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!