Uploaded image for project: 'Derby'
  1. Derby
  2. DERBY-446

Client data source implementations cause security exception on storage to/from a Reference object

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 10.1.1.0, 10.2.1.6
    • 10.2.1.6
    • JDBC, Network Client
    • None

    Description

      The ClientBaseDataSource code to access the property value fields through reflection throws security exceptions as it trieds to disable security checks. Rather than requiring this somewhat dangerous permission, Derby client code can simply call the public getter and setter methods for the properties, with no security concerns,

      Using the test to be added in DERBY-445
      java -Djava.security.manager= org.apache.derbyTesting.functionTests.tests.jdbcapi.dataSourceReference

      Attachments

        Activity

          People

            djd Daniel John Debrunner
            djd Daniel John Debrunner
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: