Apps don't show up because of a security manager error.

Description

the `admin-core-appservice` bundle is getting an error

ERROR: java.security.AccessControlException: access denied ("java.io.FilePermission" "etc/application-definitions" "read") (class javax.management.RuntimeMBeanException)

but the default.policy has

grant codeBase "file:/admin-core-appservice" { permission java.io.FilePermission "${ddf.home.perm}etc${/}-", "read,write";}

 

adding the following line doesn’t work either

permission java.io.FilePermission "${ddf.home.perm}etc${/}application-definitions", "read";

https://github.com/codice/ddf/blob/master/platform/admin/core/admin-core-appservice/src/main/java/org/codice/ddf/admin/application/service/impl/ApplicationServiceImpl.java#L71-L72

the security manager doesn't work with relative paths always we need to change this to be an absolute path so that it doesn't get denied.

Environment

None

Status

Assignee

Unassigned

Reporter

Ryan Yeats

Labels

None

Components

Affects versions

2.13.0
2.12.0

Priority

Major
Configure