Using Windows Domain Authentication for Authentication

The name may seem a little strange, but what I found on the Internet are methods for automatically logging in 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 the user / password combination in the Windows domain to make sure that the person performing the transaction is the one authorized to do this, that is, not the one who secretly uses the computer of the authorized person when he / she left and left the computer unlocked.

Note

  • I am working on Java
  • I only want to authenticate a single transaction, without a login session (if possible).
  • Only certain people should be logged in. (I believe this is done through roles in the active directory?)
+2
source share
1 answer

What I used in the past is authentication with an LDAP server. The active directory acts as an LDAP server, so you should be able to authenticate against it. This can be used to verify the combination of username and password.

I found this article showing how it works with java.

+2
source

All Articles