[
https://issues.apache.org/jira/browse/SYNCOPE-883?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15357216#comment-15357216
]
ASF subversion and git services commented on SYNCOPE-883:
---------------------------------------------------------
Commit 6f5bd3724d7fc0d81f5eb828e923302598bdd2a6 in syncope's branch
refs/heads/master from [~ilgrosso]
[ https://git-wip-us.apache.org/repos/asf?p=syncope.git;h=6f5bd37 ]
[SYNCOPE-883] Fix provided
> Can't access REST API via browser
> ---------------------------------
>
> Key: SYNCOPE-883
> URL: https://issues.apache.org/jira/browse/SYNCOPE-883
> Project: Syncope
> Issue Type: Bug
> Affects Versions: 2.0.0-M4
> Reporter: Colm O hEigeartaigh
> Assignee: Francesco Chicchiriccò
> Fix For: 2.0.0
>
>
> With the latest 2.0.0-SNAPSHOT, I noticed that accessing the REST API without
> supplying a username/password returns 403 as opposed to the old 401.
> wget http://localhost:9080/syncope/rest/users
> --2016-06-28 15:40:01-- http://localhost:9080/syncope/rest/users
> Resolving localhost (localhost)... 127.0.0.1
> Connecting to localhost (localhost)|127.0.0.1|:9080... connected.
> HTTP request sent, awaiting response... 403
> 2016-06-28 15:40:01 ERROR 403: (no description).
> Whereas with 1.2.7:
> wget http://localhost:9080/syncope/rest/users
> --2016-06-28 15:29:42-- http://localhost:9080/syncope/rest/users
> Resolving localhost (localhost)... 127.0.0.1
> Connecting to localhost (localhost)|127.0.0.1|:9080... connected.
> HTTP request sent, awaiting response... 401 Unauthorized
> Username/Password Authentication Failed.
> This means that if you open up a web browser and try to access say:
> http://localhost:9080/syncope/rest/users
> a pop-up windows does not appear for the user to enter the user/password.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)