[infinispan-issues] [JBoss JIRA] (ISPN-8338) Cache start methods should run privileged

William Burns (JIRA) issues at jboss.org
Mon Oct 9 04:30:00 EDT 2017


    [ https://issues.jboss.org/browse/ISPN-8338?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13473725#comment-13473725 ] 

William Burns commented on ISPN-8338:
-------------------------------------

[~anistor] Initially I just added start and had though about @Stop. I had forgotten Tristan just added @PostStart, but I can agree that we should do this for both of these as well.

> Cache start methods should run privileged
> -----------------------------------------
>
>                 Key: ISPN-8338
>                 URL: https://issues.jboss.org/browse/ISPN-8338
>             Project: Infinispan
>          Issue Type: Task
>          Components: Security
>            Reporter: William Burns
>            Assignee: William Burns
>             Fix For: 9.2.0.Alpha2
>
>
> When a cache is starting and it has security, it is possible that an internal component would throw an exception stating it doesn't have security access. Normally this is fixed by surrounding this in a SecurityActions call. However when a cache is starting all of these components are known to be Infinispan core and should be fine trusting it. This JIRA is to wrap start automatically with SecurityActions.



--
This message was sent by Atlassian JIRA
(v7.2.3#72005)


More information about the infinispan-issues mailing list