Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id C4BEF200B45 for ; Thu, 30 Jun 2016 16:56:11 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id C369C160A06; Thu, 30 Jun 2016 14:56:11 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 1CA04160A52 for ; Thu, 30 Jun 2016 16:56:10 +0200 (CEST) Received: (qmail 51516 invoked by uid 500); 30 Jun 2016 14:56:10 -0000 Mailing-List: contact dev-help@syncope.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@syncope.apache.org Delivered-To: mailing list dev@syncope.apache.org Received: (qmail 51458 invoked by uid 99); 30 Jun 2016 14:56:10 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 30 Jun 2016 14:56:10 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 275E02C02A1 for ; Thu, 30 Jun 2016 14:56:10 +0000 (UTC) Date: Thu, 30 Jun 2016 14:56:10 +0000 (UTC) From: =?utf-8?Q?Francesco_Chicchiricc=C3=B2_=28JIRA=29?= To: dev@syncope.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Assigned] (SYNCOPE-883) Can't access REST API via browser MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Thu, 30 Jun 2016 14:56:11 -0000 [ https://issues.apache.org/jira/browse/SYNCOPE-883?page=3Dcom.atlassi= an.jira.plugin.system.issuetabpanels:all-tabpanel ] Francesco Chicchiricc=C3=B2 reassigned SYNCOPE-883: ---------------------------------------------- Assignee: Francesco Chicchiricc=C3=B2 > 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=C3=B2 > Fix For: 2.0.0 > > > With the latest 2.0.0-SNAPSHOT, I noticed that accessing the REST API wit= hout 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.= =20 -- This message was sent by Atlassian JIRA (v6.3.4#6332)