From oak-issues-return-79264-archive-asf-public=cust-asf.ponee.io@jackrabbit.apache.org Mon May 4 13:31:03 2020 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [207.244.88.153]) by mx-eu-01.ponee.io (Postfix) with SMTP id 1FD34180665 for ; Mon, 4 May 2020 15:31:03 +0200 (CEST) Received: (qmail 36313 invoked by uid 500); 4 May 2020 13:31:02 -0000 Mailing-List: contact oak-issues-help@jackrabbit.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: oak-dev@jackrabbit.apache.org Delivered-To: mailing list oak-issues@jackrabbit.apache.org Received: (qmail 36193 invoked by uid 99); 4 May 2020 13:31:01 -0000 Received: from mailrelay1-us-west.apache.org (HELO mailrelay1-us-west.apache.org) (209.188.14.139) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 04 May 2020 13:31:01 +0000 Received: from jira-he-de.apache.org (static.172.67.40.188.clients.your-server.de [188.40.67.172]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 7C421E30F8 for ; Mon, 4 May 2020 13:31:01 +0000 (UTC) Received: from jira-he-de.apache.org (localhost.localdomain [127.0.0.1]) by jira-he-de.apache.org (ASF Mail Server at jira-he-de.apache.org) with ESMTP id 40E577808F6 for ; Mon, 4 May 2020 13:31:00 +0000 (UTC) Date: Mon, 4 May 2020 13:31:00 +0000 (UTC) From: "Konrad Windszus (Jira)" To: oak-issues@jackrabbit.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (OAK-9047) Make the DefaultAuthorizableActionProvider require a configuration MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/OAK-9047?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17098928#comment-17098928 ] Konrad Windszus commented on OAK-9047: -------------------------------------- IMHO SecurityProviderRegistration already has such a mechanism with https://github.com/apache/jackrabbit-oak/blob/f454d227ad7418b1c7f911c67e5aead2208fdb5e/oak-core/src/main/java/org/apache/jackrabbit/oak/security/internal/SecurityProviderRegistration.java#L477. It is important for the dependent services though to have a configuration. > Make the DefaultAuthorizableActionProvider require a configuration > ------------------------------------------------------------------ > > Key: OAK-9047 > URL: https://issues.apache.org/jira/browse/OAK-9047 > Project: Jackrabbit Oak > Issue Type: Improvement > Components: security-spi > Reporter: Konrad Windszus > Priority: Major > > Currently configuring the {{DefaultAuthorizableActionProvider}} leads to restart of the Oak repository in the context of https://issues.apache.org/jira/browse/SLING-7811?focusedCommentId=16573171&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-16573171. > It would make sense to only start the service https://github.com/apache/jackrabbit-oak/blob/1f90e8c632868e658cc60b95bc5ec49182c4e173/oak-security-spi/src/main/java/org/apache/jackrabbit/oak/spi/security/user/action/DefaultAuthorizableActionProvider.java#L45 once a mandatory configuration is in place. -- This message was sent by Atlassian Jira (v8.3.4#803005)