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 A8E29200B2B for ; Tue, 28 Jun 2016 16:40:52 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id A7B1D160A56; Tue, 28 Jun 2016 14:40:52 +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 EF7A2160A28 for ; Tue, 28 Jun 2016 16:40:51 +0200 (CEST) Received: (qmail 30043 invoked by uid 500); 28 Jun 2016 14:40:51 -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 30032 invoked by uid 99); 28 Jun 2016 14:40:51 -0000 Received: from mail-relay.apache.org (HELO mail-relay.apache.org) (140.211.11.15) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 28 Jun 2016 14:40:51 +0000 Received: from mail-qk0-f174.google.com (mail-qk0-f174.google.com [209.85.220.174]) by mail-relay.apache.org (ASF Mail Server at mail-relay.apache.org) with ESMTPSA id 84F1B1A0044 for ; Tue, 28 Jun 2016 14:40:50 +0000 (UTC) Received: by mail-qk0-f174.google.com with SMTP id t127so32808911qkf.1 for ; Tue, 28 Jun 2016 07:40:50 -0700 (PDT) X-Gm-Message-State: ALyK8tLyzSWqYKE96v3mSz24FQSLTnp1KqFz84yGsBCmbON/iYBsEtKh8471evU2QgTZCnYpDJ+d3ZLLRE541g== X-Received: by 10.55.22.154 with SMTP id 26mr2353347qkw.193.1467124849524; Tue, 28 Jun 2016 07:40:49 -0700 (PDT) MIME-Version: 1.0 Reply-To: coheigea@apache.org Received: by 10.237.56.231 with HTTP; Tue, 28 Jun 2016 07:40:49 -0700 (PDT) From: Colm O hEigeartaigh Date: Tue, 28 Jun 2016 15:40:49 +0100 X-Gmail-Original-Message-ID: Message-ID: Subject: REST API authentication in 2.0.0 To: "dev@syncope.apache.org" Content-Type: multipart/alternative; boundary=001a114773de7f4bdc0536579fd3 archived-at: Tue, 28 Jun 2016 14:40:52 -0000 --001a114773de7f4bdc0536579fd3 Content-Type: text/plain; charset=UTF-8 Hi, Just wanted to check before filing a JIRA. 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. Was there a reason for this change or will I file a bug? Thanks, Colm. -- Colm O hEigeartaigh Talend Community Coder http://coders.talend.com --001a114773de7f4bdc0536579fd3--