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 0B161200C2C for ; Fri, 3 Mar 2017 14:01:52 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 09BD4160B57; Fri, 3 Mar 2017 13:01: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 3F953160B81 for ; Fri, 3 Mar 2017 14:01:51 +0100 (CET) Received: (qmail 35239 invoked by uid 500); 3 Mar 2017 13:01:50 -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 35015 invoked by uid 99); 3 Mar 2017 13:01:50 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 03 Mar 2017 13:01:50 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id EE5BD18E86E for ; Fri, 3 Mar 2017 13:01:49 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -2.347 X-Spam-Level: X-Spam-Status: No, score=-2.347 tagged_above=-999 required=6.31 tests=[RP_MATCHES_RCVD=-2.999, SPF_NEUTRAL=0.652] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id jmsN-QVDVsUj for ; Fri, 3 Mar 2017 13:01:49 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id 738F95FAD8 for ; Fri, 3 Mar 2017 13:01:48 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 24FE6E095A for ; Fri, 3 Mar 2017 13:01:47 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 1780B2416A for ; Fri, 3 Mar 2017 13:01:46 +0000 (UTC) Date: Fri, 3 Mar 2017 13:01:46 +0000 (UTC) From: "ASF subversion and git services (JIRA)" To: dev@syncope.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (SYNCOPE-1035) JWT-based access to REST services MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Fri, 03 Mar 2017 13:01:52 -0000 [ https://issues.apache.org/jira/browse/SYNCOPE-1035?page=3Dcom.atlassi= an.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D15= 894301#comment-15894301 ]=20 ASF subversion and git services commented on SYNCOPE-1035: ---------------------------------------------------------- Commit 2b06bafc58ccc0d2b9a1be137f0965ff111b08d4 in syncope's branch refs/he= ads/master from [~ilgrosso] [ https://git-wip-us.apache.org/repos/asf?p=3Dsyncope.git;h=3D2b06baf ] [SYNCOPE-1035] Fix for console logout > JWT-based access to REST services > --------------------------------- > > Key: SYNCOPE-1035 > URL: https://issues.apache.org/jira/browse/SYNCOPE-1035 > Project: Syncope > Issue Type: New Feature > Components: client, console, core > Reporter: Francesco Chicchiricc=C3=B2 > Assignee: Francesco Chicchiricc=C3=B2 > Labels: rest > Fix For: 2.0.3, 2.1.0 > > > Since the beginning, access to the REST services is protected via Basic A= uthentication, with credentials sent along each and every request. > As improvement, we can switch to an architecture where there is an explic= it REST service for obtaining some sort of token (requiring credentials) an= d then all other REST services can be accessed by sending along such token = instead of credentials. > This will ease future works for enabling SSO via SAML, OAuth 2.0 or other= standards. > About the token format, it seems that [JSON Web Tokens|https://jwt.io/] a= re quite the default choice, especially considering the support that CXF al= ready provides for that. -- This message was sent by Atlassian JIRA (v6.3.15#6346)