How to retrieve username and password from windows vault using java? [duplicate]

南楼画角 提交于 2020-01-14 04:30:07

问题


I would like to retrieve username and password programmatically stored in windows vault.

Is there a Java API which can be used to retrieve the username and password securely from the Windows Vault?


回答1:


Have you seen How do I store and retrieve credentials from the Windows Vault credential manager? I think you can refer this for an answer. Maybe it can help you with your question.

UPDATE

As mention by pcdev, you want to retrieve using Java. My mistake I did not read properly. I found one GitHub as he using java.jna.WindowsCredentialManager. https://github.com/dariusz-szczepaniak/java.jna.WindowsCredentialManager

You might want to try this perhaps?



来源:https://stackoverflow.com/questions/55233269/how-to-retrieve-username-and-password-from-windows-vault-using-java

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