Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AuthGssApiWithMic: Use default client creds instead of remote username #743

Merged
merged 6 commits into from
Aug 8, 2022

Commits on Nov 12, 2021

  1. AuthGssApiWithMic: Use default client creds instead of remote username

    Previously, AuthGssApiWithMic used params.getUsername() to create the
    local client credential object. However, at least when using the native
    GSS libraries (sun.security.jgss.native=true), the username would need 
    to be something like "user@EXAMPLE.COM", not "user", or the library is 
    unable to find credentials. Also, your remote username might not be your
    local username.
    
    Instead, and more simply, call the GSSManager#createCredential variant
    that just uses default credentials, which should handle both of these 
    cases.
    
    Tested on Windows using SSPI. I haven't tested this patch on Linux but I
    have confirmed that this form of call to createCredential works as I 
    expect when using the native GSS/Kerberos library there too.
    geofft committed Nov 12, 2021
    Configuration menu
    Copy the full SHA
    dedaf8a View commit details
    Browse the repository at this point in the history

Commits on Dec 16, 2021

  1. Configuration menu
    Copy the full SHA
    0d09aef View commit details
    Browse the repository at this point in the history

Commits on Feb 15, 2022

  1. Configuration menu
    Copy the full SHA
    1d1a764 View commit details
    Browse the repository at this point in the history

Commits on Mar 7, 2022

  1. Configuration menu
    Copy the full SHA
    3fbb015 View commit details
    Browse the repository at this point in the history

Commits on Aug 8, 2022

  1. Configuration menu
    Copy the full SHA
    8918390 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a7a4132 View commit details
    Browse the repository at this point in the history