mirror of https://github.com/apache/druid.git
Improve error message for unavailable auth cache in BasicHTTPAuthenticator (#7263)
This commit is contained in:
parent
c020272add
commit
74bbe5ab9f
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue