[infinispan-issues] [JBoss JIRA] (ISPN-11331) Add tests for the Hot Rod client running under a SecurityManager

Tristan Tarrant (Jira) issues at jboss.org
Wed Feb 12 09:01:00 EST 2020


     [ https://issues.redhat.com/browse/ISPN-11331?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tristan Tarrant updated ISPN-11331:
-----------------------------------
    Description: 
Netty's PlatformDependent class attempts to open two files

which fails when running with a SecurityManager. We need to add a test for it as well as the following to the default policy:



{noformat}
grant codeBase "file://netty-common.jar" {
permission java.io.FilePermission "/etc/os-release", "read";
permission java.io.FilePermission "/usr/lib/os-release", "read";
}
{noformat}


  was:
Netty's PlatformDependent class attempts to open two files

which fails when running with a SecurityManager. We need to add a test for it as well as the following to the default policy:

grant codeBase "file://netty-common.jar" {
permission java.io.FilePermission "/etc/os-release", "read";
permission java.io.FilePermission "/usr/lib/os-release", "read";
}



> Add tests for the Hot Rod client running under a SecurityManager
> ----------------------------------------------------------------
>
>                 Key: ISPN-11331
>                 URL: https://issues.redhat.com/browse/ISPN-11331
>             Project: Infinispan
>          Issue Type: Bug
>          Components: Hot Rod, Security
>    Affects Versions: 9.4.17.Final, 10.1.2.Final, 11.0.0.Alpha1
>            Reporter: Tristan Tarrant
>            Assignee: Tristan Tarrant
>            Priority: Major
>
> Netty's PlatformDependent class attempts to open two files
> which fails when running with a SecurityManager. We need to add a test for it as well as the following to the default policy:
> {noformat}
> grant codeBase "file://netty-common.jar" {
> permission java.io.FilePermission "/etc/os-release", "read";
> permission java.io.FilePermission "/usr/lib/os-release", "read";
> }
> {noformat}



--
This message was sent by Atlassian Jira
(v7.13.8#713008)


More information about the infinispan-issues mailing list