Return-Path: X-Original-To: apmail-karaf-issues-archive@minotaur.apache.org Delivered-To: apmail-karaf-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 65A4318688 for ; Mon, 29 Feb 2016 10:07:19 +0000 (UTC) Received: (qmail 14918 invoked by uid 500); 29 Feb 2016 10:07:18 -0000 Delivered-To: apmail-karaf-issues-archive@karaf.apache.org Received: (qmail 14865 invoked by uid 500); 29 Feb 2016 10:07:18 -0000 Mailing-List: contact issues-help@karaf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@karaf.apache.org Delivered-To: mailing list issues@karaf.apache.org Received: (qmail 14316 invoked by uid 99); 29 Feb 2016 10:07:18 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 29 Feb 2016 10:07:18 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 246922C1F64 for ; Mon, 29 Feb 2016 10:07:18 +0000 (UTC) Date: Mon, 29 Feb 2016 10:07:18 +0000 (UTC) From: "ASF subversion and git services (JIRA)" To: issues@karaf.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (KARAF-4351) [RBAC] Optimize access to JMXSecurityMBean.canInvoke(Map) 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/KARAF-4351?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15171689#comment-15171689 ] ASF subversion and git services commented on KARAF-4351: -------------------------------------------------------- Commit 3877c00131302b9bd09a38e390bbf81c2f258a08 in karaf's branch refs/heads/karaf-4.0.x from [~gzres] [ https://git-wip-us.apache.org/repos/asf?p=karaf.git;h=3877c00 ] [KARAF-4351] Optimize JAAS ACC/Subject access in bulk RBAC calls > [RBAC] Optimize access to JMXSecurityMBean.canInvoke(Map) > --------------------------------------------------------- > > Key: KARAF-4351 > URL: https://issues.apache.org/jira/browse/KARAF-4351 > Project: Karaf > Issue Type: Improvement > Components: karaf-security > Affects Versions: 2.4.4, 3.0.6, 4.0.4 > Reporter: Grzegorz Grzybek > > We've scenario where there are 2000 ActiveMQ queues running in Karaf with hawtio that leverages RBAC. > hawtio, through Jolokia library calls {{org.apache.karaf.management.JMXSecurityMBean#canInvoke(java.util.Map>)}} method passing map of >2000 MBeanNames to lists of average size = 20. > Thus we have >40000 calls to one of {{org.apache.karaf.management.internal.JMXSecurityMBeanImpl#canInvoke()}} methods for pairs of MBean+signature and we have equal number of calls to {{org.osgi.service.cm.ConfigurationAdmin#listConfigurations("(service.pid=jmx.acl*)"}}. -- This message was sent by Atlassian JIRA (v6.3.4#6332)