How do two Java threads (the same process, the same machine) create their own Kerberos ticket?
My concern is that, as a rule, when a Kerberos ticket is created on a machine, it will be used by all other processes on the machine.
I plan to use the default Kerberos libraries Java , but I haven't started yet, so I'm open to any suggestion (must be open -source).
The small hello world that connects http://serverthrough Kerberos as thread1-user1-password1 and thread2-user2-password2 will be awesome!
Context: I want to write a load testing tool:
- My tool launches 100 threads,
- Each thread registers as a different Kerberos user,
- After registration, each thread starts sending requests.
Performing a load test, since several users are important, since each user has his own cache, etc.
Kerberos cannot be disabled / bypassed, since the goal is also to validate Kerberos.
source
share