使用windows域认证进行认证

发布于 2024-09-06 16:54:34 字数 289 浏览 1 评论 0原文

标题可能看起来有点奇怪,但我在互联网上找到的是使用 Windows 域身份验证(单点登录)自动登录的方法,但这不是我想要的。

在我的用例中,我想明确要求该人输入他们的 Windows 域用户/密码组合,以确保执行交易的人是被授权这样做的人,即不是秘密使用授权人的用户/密码组合的人。当他/她不在并且未锁定计算机时。

注意

  • 我正在使用 Java,
  • 我只想验证单个事务,没有登录会话(如果可能)。
  • 只应授权某些人。 (我相信这是通过活动目录中的角色完成的?)

The title may seem a little weird but what I find around the internet is methods to sign on to stuff automatically with windows domain authentication (Single Sign On), but that is not what I want.

In my use case I want to explicitly ask the person to enter their windows domain user/password combination to make sure that the person performing the transaction is the one that is authorized to do so, i.e. not someone who secretly makes use of the authorized person's computer while he/she is away and left their computer unlocked.

Note

  • I am working on Java
  • I only want to authenticate a single transaction, no login session (if possible).
  • Only certain people should be authorized. (I believe this is done through roles in active directory?)

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

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

发布评论

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

评论(1

绝影如岚 2024-09-13 16:54:34

我过去使用的是针对 LDAP 服务器进行身份验证。 Active Directory 用作 LDAP 服务器,因此您应该能够对其进行身份验证。这可用于验证用户名/密码组合。

我发现这篇文章展示了它如何与java一起工作。

What I have used in the past is to authenticate against an LDAP server. Active directory works as an LDAP server so you should be able to authenticate against it. This can be used to verify the username/password combination.

I found this article showing how it works with java.

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