[ 
https://issues.apache.org/jira/browse/OWB-545?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13006838#comment-13006838
 ] 

Mark Struberg commented on OWB-545:
-----------------------------------

I've now also committed the ManagedSecurityService which covers all the 
doPriviliged stuff for use in EE servers. Next step is to move all invocations 
of SecurityUtil to the new SecurityService.

> Cleanup our SecurityManager integration
> ---------------------------------------
>
>                 Key: OWB-545
>                 URL: https://issues.apache.org/jira/browse/OWB-545
>             Project: OpenWebBeans
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 1.0.0
>            Reporter: Mark Struberg
>            Assignee: Mark Struberg
>             Fix For: 1.1.0
>
>
> We currently sometimes uses static SecurityUtil methods to perform 
> doPrivileged calls and sometimes just go straight to the underlying methods. 
> This should get cleaned up and instead of the SecurityUtil, we shall provide 
> such methods via a plugable SecurityService.
> This would allow us to implement a SimpleSecurityService which doesn't make 
> use of the SecurityManager and therefore will increase the speed of OWB about 
> 50% compared to always using the SecurityManager (which we currently do _not_ 
> do in hotspot areas because of the performance impact).

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to