db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel John Debrunner (JIRA)" <derby-...@db.apache.org>
Subject [jira] Resolved: (DERBY-446) Client data source implementations cause security exception on storage to/from a Reference object
Date Mon, 10 Apr 2006 18:28:00 GMT
     [ 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


Mime
View raw message