Uploaded image for project: 'JBoss Modules'
  1. JBoss Modules
  2. MODULES-236

Add EL Expression type property expansion for system properties in Permission/Grant/name attribute

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Done
    • Icon: Major Major
    • 1.6.0.Beta1
    • 1.6.0.Beta1
    • Security
    • None

      In a Java Policy file it's possible to do Property Expansion in grants such as:

      java.io.FilePermission "${java.home}${/}-", "read"
      

      Reference https://docs.oracle.com/javase/8/docs/technotes/guides/security/PolicyFiles.html

      However the current implementation of permissions in JBoss Modules does not allow it. We should add this feature to make permissions more usable where the deployment environment is unknown.

              rhn-support-jshepher Jason Shepherd
              rhn-support-jshepher Jason Shepherd
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: