提取java虚拟机的用户上下文

发布于 2025-01-07 03:40:27 字数 118 浏览 0 评论 0原文

jvm 正在使用某个用户的安全上下文运行。

在 Windows 上,有时在 Linux 上,用户将有一个 kerberos tgt。是否可以提取运行 jvm 的用户的安全上下文和 kerberos tgt。

The jvm is running with a security context of some user.

On windows and sometimes on linux, the user will have a kerberos tgt. Is it possible to extract the security context and the kerberos tgt of the user, whose priviliges the jvm is running with.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

风月客 2025-01-14 03:40:27

是的。根据您的具体设置,Kerberos 凭据通常存储在“keytab”文件中。这个 keytab 可以被用户读取(显然),因此也可以被 Java 读取。

因此,即使缺少 Java Kerberos 特定功能(顺便说一下,该功能确实存在),仍然可以获得用户的凭据。

Yes, it is. The Kerberos credentials are, depending on your exact setup, generally stored in a "keytab" file. This keytab is readable by the user (obviously) and, thus, by Java.

So, even in the absence of the Java Kerberos-specific functionality (which does, by the way, exist), it would still be possible to get the user's credentials.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文