Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8231661
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T17:34:16+00:00 2026-06-07T17:34:16+00:00

How can 2 Java threads (of the same process, same machine) each create their

  • 0

How can 2 Java threads (of the same process, same machine) each create their own Kerberos ticket?

My concern is that usually, once a Kerberos ticket is created on a machine, it will be used by all other processes on the machine.

I am planning to use Java’s default Kerberos libraries, but I haven’t started yet so I am open to any suggestion (must be open-source).

A small hello world that connects to http://server via Kerberos as thread1-user1-password1 and thread2-user2-password2 would be awesome!


Context: I want to write a load-testing tool:

  • My tool launches 100 threads,
  • Each thread logs in as a different Kerberos user,
  • Once logged, each thread starts sending requests.

Doing the load-test as several users is important, as each user has its own cache etc.
Kerberos can not be disabled/circumvented, because the purpose is also to test Kerberos.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-07T17:34:18+00:00Added an answer on June 7, 2026 at 5:34 pm

    The authentication belongs to the GSS context, not the JVM. You can have as many contexts as you like, ergo as many tickets and authentications as you like.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

is there any way two threads within the same process can communicate without knowing
How can I implement several threads with multiple/same connection(s), so that a single large
Can Java's == operator be asymmetric for primitive values, so that x == y
In Java can I create a URI for a file located locally in the
In java can an instance variable and a method have the same name without
(Yes I know I can call Java code from Scala; but that is pointless;
Is there anything simple Java can't do that can be done in a similar
I run the same process on a 32bit machine as on a 64bit machine
Is there any method so that I can split a text file in java
i have a java process that reads data from a socket server. Thus i

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.