Return-Path: X-Original-To: apmail-jackrabbit-dev-archive@www.apache.org Delivered-To: apmail-jackrabbit-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id B330518EF6 for ; Tue, 8 Mar 2016 15:53:41 +0000 (UTC) Received: (qmail 19232 invoked by uid 500); 8 Mar 2016 15:53:41 -0000 Delivered-To: apmail-jackrabbit-dev-archive@jackrabbit.apache.org Received: (qmail 18964 invoked by uid 500); 8 Mar 2016 15:53:41 -0000 Mailing-List: contact dev-help@jackrabbit.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@jackrabbit.apache.org Delivered-To: mailing list dev@jackrabbit.apache.org Received: (qmail 18933 invoked by uid 99); 8 Mar 2016 15:53:40 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Mar 2016 15:53:40 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id C4C412C1F55 for ; Tue, 8 Mar 2016 15:53:40 +0000 (UTC) Date: Tue, 8 Mar 2016 15:53:40 +0000 (UTC) From: "Julian Reschke (JIRA)" To: dev@jackrabbit.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (JCR-3836) Allow to get an Authorizable of a given type MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/JCR-3836?page=3Dcom.atlassian.= jira.plugin.system.issuetabpanels:all-tabpanel ] Julian Reschke updated JCR-3836: -------------------------------- Labels: candidate_oak_1_2 security (was: security) > Allow to get an Authorizable of a given type=20 > --------------------------------------------- > > Key: JCR-3836 > URL: https://issues.apache.org/jira/browse/JCR-3836 > Project: Jackrabbit Content Repository > Issue Type: New Feature > Components: security > Affects Versions: 2.9 > Reporter: Timothee Maret > Assignee: angela > Labels: security > Fix For: 2.10.1 > > Attachments: JCR-3836.patch, JCR-3836.patch > > > As discussed in [0], API users would benefit from being able to get an Au= thorizable of a given type. > In order to allow this, we may add > {code} > T getAuthorizable(@Nonnull String id, Class authorizableClass) thr= ows AuthorizableTypeException > {code} > [0]=C2=A0http://jackrabbit.markmail.org/message/iq7zpdxwh5laalfi?q=3DAddi= ng+AuthorizableMissmatchException+to+jackrabbit+security+API -- This message was sent by Atlassian JIRA (v6.3.4#6332)