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 "Anurag Shekhar (JIRA)" <ji...@apache.org> on 2007/02/27 21:00:11 UTC

[jira] Updated: (DERBY-2379) provide encryption support for temporary files used by lob if the dara base is encrypted

     [ https://issues.apache.org/jira/browse/DERBY-2379?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Anurag Shekhar updated DERBY-2379:
----------------------------------

    Attachment: derby-2379.diff

Description of patch derby-2379.diff
This patch introduces a new class LOBFile which is encryption aware and uses store factory methods to encrypt and decrypt bytes before writing or after reading from the file in case of encrypted databse. This class is used by LOBStreamControl for accessing temporary file.
It also contains changes in TestConfiguration and JDBCDataSource to enable support for running test suites in encrypted mode (only in embedded mode).

New Files added 
java/engine/org/apache/derby/impl/jdbc/LOBFile.java
Class to handle plain/encrypted io to temporary file.

Modified Files
java/engine/org/apache/derby/impl/jdbc/LOBStreamControl.java
Modified to use LOBFile

java/engine/org/apache/derby/iapi/store/raw/data/DataFactory.java
added a new method to return true if the database is encrypted

java/testing/org/apache/derbyTesting/junit/TestConfiguration.java
java/testing/org/apache/derbyTesting/junit/JDBCDataSource.java
Modified to run tests in encrypted mode.

java/testing/org/apache/derbyTesting/functionTests/tests/jdbc4/BlobSetMethodsTest.java
java/testing/org/apache/derbyTesting/functionTests/tests/jdbc4/LobStreamTest.java

Enabled in encrypted mode too.







> provide encryption support for temporary files used by lob if the dara base is encrypted
> ----------------------------------------------------------------------------------------
>
>                 Key: DERBY-2379
>                 URL: https://issues.apache.org/jira/browse/DERBY-2379
>             Project: Derby
>          Issue Type: Sub-task
>    Affects Versions: 10.3.0.0
>         Environment: all
>            Reporter: Anurag Shekhar
>         Assigned To: Anurag Shekhar
>         Attachments: derby-2379.diff
>
>


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.