Skip to content

Conversation

@careylam
Copy link
Contributor

  1. At the beginning of the negotiate, no token is defined in "WWW-Authenticate: Negotiate".
  2. Kerberos expects HTTP.

1. At the beginning of the negotiate, no token is defined in "WWW-Authenticate: Negotiate".
2. Kerberos expects HTTP.
@ok2c ok2c merged commit a018418 into apache:master Feb 20, 2021
private static final Logger LOG = LoggerFactory.getLogger(GGSSchemeBase.class);

private static final String NO_TOKEN = "";
private static final String KERBEROS_SCHEME = "HTTP";
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This name is semantically wrong! It is a service class and not a Kerberos scheme. I also don't understand why make a difference between null and #isEmpty() with a static final field.

@ok2c
Copy link
Member

ok2c commented Feb 20, 2021

@michael-o Just tweak the commit and force-push.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants