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 32223200C48 for ; Thu, 6 Apr 2017 22:50:46 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 30B5E160B91; Thu, 6 Apr 2017 20:50:46 +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 7884F160B81 for ; Thu, 6 Apr 2017 22:50:45 +0200 (CEST) Received: (qmail 92491 invoked by uid 500); 6 Apr 2017 20:50:44 -0000 Mailing-List: contact dev-help@sling.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@sling.apache.org Delivered-To: mailing list dev@sling.apache.org Received: (qmail 92474 invoked by uid 99); 6 Apr 2017 20:50:44 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 06 Apr 2017 20:50:44 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 0F22AC145A for ; Thu, 6 Apr 2017 20:50:44 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -100.002 X-Spam-Level: X-Spam-Status: No, score=-100.002 tagged_above=-999 required=6.31 tests=[RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id JG7bEgtsF6vi for ; Thu, 6 Apr 2017 20:50:43 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id 4FBA05FB5A for ; Thu, 6 Apr 2017 20:50:43 +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 DA508E0B33 for ; Thu, 6 Apr 2017 20:50:42 +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 454432406F for ; Thu, 6 Apr 2017 20:50:42 +0000 (UTC) Date: Thu, 6 Apr 2017 20:50:42 +0000 (UTC) From: "Oliver Lietz (JIRA)" To: dev@sling.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (SLING-6772) Provide default mapping for service users MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Thu, 06 Apr 2017 20:50:46 -0000 [ https://issues.apache.org/jira/browse/SLING-6772?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15959727#comment-15959727 ] Oliver Lietz commented on SLING-6772: ------------------------------------- If we can rule out issues with Sling's selectors ({{.}} in path names), I suggest simple _bundle symbolic name_ + _sub service_ pattern, e.g. {{org.apache.sling.servlets.resolver+scripts}} (omitting {{@}} which may be used by super clever UIs/browsers to detect mail adresses in context of user names). > Provide default mapping for service users > ----------------------------------------- > > Key: SLING-6772 > URL: https://issues.apache.org/jira/browse/SLING-6772 > Project: Sling > Issue Type: Improvement > Components: Service User Mapper > Reporter: Carsten Ziegeler > Assignee: Carsten Ziegeler > Fix For: Service User Mapper 1.3.0 > > Attachments: SLING-6772.karaf.patch, SLING-6772.repoinit.patch > > > As discussed in [1] we should aim at making Sling configurationless again. One part which currently always needs configurations is the service user mapper. We should add a default mapping, from a bundle symblic name and sub service to > {noformat} > "serviceuser@" + {bundle.symblicName} + [":" + sub service] > {noformat} > [1] https://lists.apache.org/thread.html/6f90d751ddd20d7041475ba5d5fc89beda1906048ff91cc2f564e63e@%3Cdev.sling.apache.org%3E -- This message was sent by Atlassian JIRA (v6.3.15#6346)