You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Keith Wall (JIRA)" <ji...@apache.org> on 2015/10/08 16:06:26 UTC

[jira] [Updated] (QPID-6781) Replace use of Subject#doAs with calls to {{AccessController#doPrivileged}} and a cached context

     [ https://issues.apache.org/jira/browse/QPID-6781?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Keith Wall updated QPID-6781:
-----------------------------
    Summary: Replace use of Subject#doAs with calls to {{AccessController#doPrivileged}} and a cached context  (was: Replace use of Subject#doAs with calls to AccessController and a cached context)

> Replace use of Subject#doAs with calls to {{AccessController#doPrivileged}} and a cached context
> ------------------------------------------------------------------------------------------------
>
>                 Key: QPID-6781
>                 URL: https://issues.apache.org/jira/browse/QPID-6781
>             Project: Qpid
>          Issue Type: Improvement
>          Components: Java Broker
>            Reporter: Keith Wall
>             Fix For: qpid-java-6.0
>
>
> Analysis with a profiler has shown the {{Subject#doAs}} (and associated calls) are expensive.  Replace use of Subject#doAs with direct calls to AccessController#doPrivileged and have connections/sessions cache an {{AccessControlContext}}.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org