如何使用Java从Windows Vault中检索用户名和密码? [英] How to retrieve username and password from windows vault using java?

查看:173
本文介绍了如何使用Java从Windows Vault中检索用户名和密码?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想检索以编程方式存储在Windows Vault中的用户名和密码.

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

是否有Java API可用于从Windows保险柜安全地检索用户名和密码?

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

推荐答案

您是否看到过

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.

更新

如pcdev所述,您想使用Java进行检索.我的错误我没有正确阅读.我在他使用java.jna.WindowsCredentialManager时找到了一个GitHub. https://github.com/dariusz-szczepaniak/java.jna.WindowsCredentialManager

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

您也许想尝试一下?

这篇关于如何使用Java从Windows Vault中检索用户名和密码?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆