You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@atlas.apache.org by "Shwetha G S (JIRA)" <ji...@apache.org> on 2016/05/20 09:59:12 UTC

[jira] [Created] (ATLAS-815) Authentication error message

Shwetha G S created ATLAS-815:
---------------------------------

             Summary: Authentication error message
                 Key: ATLAS-815
                 URL: https://issues.apache.org/jira/browse/ATLAS-815
             Project: Atlas
          Issue Type: Bug
            Reporter: Shwetha G S
             Fix For: 0.7-incubating


Currently, UI maps username/password errors to invalid credentials. But even REST APIs should return 'invalid credentials'
{noformat}
apache-atlas-0.7-incubating-SNAPSHOT$ curl -u admin2:admin http://localhost:21000/api/atlas/admin/version
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<title>Error 401 Username not found.admin2</title>
</head>
<body><h2>HTTP ERROR 401</h2>
<p>Problem accessing /api/atlas/admin/version. Reason:
<pre>    Username not found.admin2</pre></p><hr><i><small>Powered by Jetty://</small></i><hr/>

</body>
</html>
{noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)