This is an automated email from the ASF dual-hosted git repository.
asdf2014 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-druid.git
The following commit(s) were added to refs/heads/master by this push:
new 74bbe5a Improve error message for unavailable auth cache in
BasicHTTPAuthenticator (#7263)
74bbe5a is described below
commit 74bbe5ab9f6b46607089a7abb86a74c36ed3454b
Author: Jonathan Wei <[email protected]>
AuthorDate: Wed Mar 13 23:39:43 2019 -0700
Improve error message for unavailable auth cache in BasicHTTPAuthenticator
(#7263)
---
.../druid/security/basic/authentication/BasicHTTPAuthenticator.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/extensions-core/druid-basic-security/src/main/java/org/apache/druid/security/basic/authentication/BasicHTTPAuthenticator.java
b/extensions-core/druid-basic-security/src/main/java/org/apache/druid/security/basic/authentication/BasicHTTPAuthenticator.java
index 98d4ecf..49d0338 100644
---
a/extensions-core/druid-basic-security/src/main/java/org/apache/druid/security/basic/authentication/BasicHTTPAuthenticator.java
+++
b/extensions-core/druid-basic-security/src/main/java/org/apache/druid/security/basic/authentication/BasicHTTPAuthenticator.java
@@ -203,7 +203,7 @@ public class BasicHTTPAuthenticator implements Authenticator
{
Map<String, BasicAuthenticatorUser> userMap =
cacheManager.get().getUserMap(name);
if (userMap == null) {
- throw new IAE("No authenticator found with prefix: [%s]", name);
+ throw new IAE("No userMap is available for authenticator: [%s]", name);
}
BasicAuthenticatorUser user = userMap.get(username);
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]