[wildfly-dev] Security manager and RuntimePermission

David M. Lloyd david.lloyd at redhat.com
Fri Sep 26 09:21:42 EDT 2014


There are several people (myself included) who have been using 
RuntimePermission as an easy way to define simple permissions for 
various purposes.  However, by spec [1] the possible values of 
RuntimePermission are limited to a specific set defined by the JDK itself.

Therefore our extensive usage of this permission in WildFly [2] and 
elsewhere needs to be revisited, and replaced with more specifically 
applicable permission types.  I've created WFLY-3902 [3] to cover the 
main portion of this work, however, non-core project members should also 
perform this same examination to fix this issue in their projects.

[1] 
http://docs.oracle.com/javase/7/docs/api/index.html?java/lang/RuntimePermission.html
[2] http://fpaste.org/136720/37116141/raw/
[3] https://issues.jboss.org/browse/WFLY-3902

-- 
- DML


More information about the wildfly-dev mailing list