You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-dev@db.apache.org by "Daniel John Debrunner (JIRA)" <de...@db.apache.org> on 2006/04/10 20:28:00 UTC

[jira] Resolved: (DERBY-446) Client data source implementations cause security exception on storage to/from a Reference object

     [ http://issues.apache.org/jira/browse/DERBY-446?page=all ]
     
Daniel John Debrunner resolved DERBY-446:
-----------------------------------------

    Fix Version: 10.2.0.0
     Resolution: Fixed

Tested under SecurityManager, old propertykey_ constants removed.

> Client data source implementations cause security exception on storage to/from a Reference object
> -------------------------------------------------------------------------------------------------
>
>          Key: DERBY-446
>          URL: http://issues.apache.org/jira/browse/DERBY-446
>      Project: Derby
>         Type: Bug

>   Components: JDBC, Network Client
>     Versions: 10.1.1.0, 10.2.0.0
>     Reporter: Daniel John Debrunner
>     Assignee: Daniel John Debrunner
>     Priority: Minor
>      Fix For: 10.2.0.0

>
> 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

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira