Andras Bokor created HADOOP-17145:
-------------------------------------
Summary: Unauthenticated users are not authorized to access this
page message is misleading in HttpServer2.java
Key: HADOOP-17145
URL: https://issues.apache.org/jira/browse/HADOOP-17145
Project: Hadoop Common
Issue Type: Bug
Reporter: Andras Bokor
Assignee: Andras Bokor
Recently one of the users were misled by the message "Unauthenticated users are
not authorized to access this page" when the user was not an admin user.
At that point the user is authenticated but has no admin access, so it's
actually not an authentication issue but an authorization issue.
Also, 401 as error code would be better.
Something like "User is unauthorized to access the page" would help to users to
find out what is the problem during access an http endpoint.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]