You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@atlas.apache.org by "Hemanth Yamijala (JIRA)" <ji...@apache.org> on 2016/06/14 10:23:01 UTC

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

    [ https://issues.apache.org/jira/browse/ATLAS-815?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15329253#comment-15329253 ] 

Hemanth Yamijala commented on ATLAS-815:
----------------------------------------

This seems related to ATLAS-767.

> 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)