Uploaded image for project: 'Commons Configuration'
  1. Commons Configuration
  2. CONFIGURATION-391

Double file permissions required in WAS 6.1

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 1.5
    • 2.x
    • None
    • None
      • WebSphere AS 6.1with J2EE securit enabled
      • AIX

    Description

      We are using Commons Configuration as follows:

      final PropertiesConfiguration config = new PropertiesConfiguration("velocity.properties");
      

      Noteworthy points:

      • properties files are embedded in JARs
      • Application is deployed in WAS 6.1, where J2EE security is activated (was.policy)

      Problem is the following:
      Two entries are necessary in was.policy in order to make the application work.

      Example:

      permission java.io.FilePermission "velocity.properties","read";
      permission java.io.FilePermission "/home/wasadmin/velocity.properties","read";
      

      The first entry is valid.
      The second entry (with "/home/wasadmin/...") is wrong but necesarry in order to make WebSphere happy.

      We would like to remove this second entry (useless and less secure) from our was.policy.

      What could be the cause of this issue ?

      Thank you,

      Attachments

        Activity

          People

            Unassigned Unassigned
            svanespen Stéphane Van Espen
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: