Connecting to Active Directory from Java Using Native JGSS

McLachlan, Alexander 0 Reputation points
2024-10-17T08:20:18.77+00:00

How can a connection to an Active Directory server be established from Java code using the native JGSS implementation (i.e., without JAAS)?

Windows for business Windows Client for IT Pros Directory services Active Directory
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Anonymous
    2024-10-18T11:21:31.27+00:00

    Hello McLachlan, Alexander •,

    Thank you for posting in Q&A forum.

    Here are some steps for your reference:

    1. Set Up Kerberos Configuration
    2. Acquire a Kerberos Ticket:
    3. Use GSS-API for Authentication
    4. For more detailed information, you can refer to the GSS-API/Kerberos v5 Authentication - Oracle

     and A Guide to Java GSS API - Baeldung

    I hope the information above is helpful.

    If you have any questions or concerns, please feel free to let us know.

    Best Regards,

    Daisy Zhou

    ============================================

    If the Answer is helpful, please click "Accept Answer" and upvote it.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.