Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -123,11 +123,16 @@ public Pair<SaslClientAuthenticationProvider, Token<? extends TokenIdentifier>>
return new Pair<>(digestAuth, token);
}
}
if (user.getUGI().hasKerberosCredentials()) {
// Unwrap PROXY auth'n method if that's what we have coming in.
if (user.getUGI().hasKerberosCredentials() ||
user.getUGI().getRealUser().hasKerberosCredentials()) {
return new Pair<>(krbAuth, null);
}
LOG.debug(
"No matching SASL authentication provider and supporting token found from providers.");
// This indicates that a client is requesting some authentication mechanism which the servers
// don't know how to process (e.g. there is no provider which can support it). This may be
// a bug or simply a misconfiguration of client *or* server.
LOG.warn("No matching SASL authentication provider and supporting token found from providers"
+ " for user: {}", user);
return null;
}

Expand Down
1 change: 1 addition & 0 deletions hbase-rest/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -543,3 +543,4 @@
</profile>
</profiles>
</project>
<!-- force module tests -->
1 change: 1 addition & 0 deletions hbase-thrift/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -600,3 +600,4 @@
</profile>
</profiles>
</project>
<!-- force module tests -->