Package com.sun.enterprise.security.permissionsxml
This package contains the core classes for supporting the "permissions.xml"
functionality of Java EE.
Via this descriptor applications can declare their Java SE permissions
requirements.
For more info, see:
https://web.archive.org/web/20160826055213/https://blogs.oracle.com/SecuritEE/entry/java_ee_7_permission_declarations
-
Class Summary Class Description BasePermissionsProcessor Base class for the concrete permissions processors.DeclaredPermissionsProcessor EarEEPermissionsProcessor GlobalPolicyUtil Utility class to load the EE permissions, EE restrictions, and check restrictions for a given permission setModuleEEPermissionsProcessor PermissionsXMLLoader Utility class to load applicationpermissions.xml
declared permissions from aFile
path orInputStream
.PermissionsXMLParser Parser to parsepermissions.xml
packaged in an EAR or in a standalone module.SetPermissionsAction Action to get declared permissions for a given module type, process them if needed, and attempt to set them in a class loader.VoidPermission A class used in the permission restriction list to imply "No 'AllPermission' allowed" in permissions.xml. -
Enum Summary Enum Description CommponentType Java EE Component type supporting the use of declared permissionsGlobalPolicyUtil.PolicyType