jackrabbit-oak-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chetan Mehrotra (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (OAK-1604) Support for signed references in Blob
Date Tue, 25 Mar 2014 08:56:42 GMT

    [ https://issues.apache.org/jira/browse/OAK-1604?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13946308#comment-13946308
] 

Chetan Mehrotra commented on OAK-1604:
--------------------------------------

One more thing missing is whena ReferenceBinary is imported how to obtain the backing plain
identifier. Currently the logic of import is broken for both NodeStore
* org.apache.jackrabbit.oak.plugins.segment.SegmentWriter#writeBlob - It writes the reference
directly. 
* org.apache.jackrabbit.oak.kernel.BlobSerializer - Used in DocumentNodeStore currently does
not handle references in any form. So I doubt that binary less replication would work for
non signed references also

Probably we need a method on BlobStore similar to org.apache.jackrabbit.core.data.DataStore#getRecordFromReference

> Support for signed references in Blob
> -------------------------------------
>
>                 Key: OAK-1604
>                 URL: https://issues.apache.org/jira/browse/OAK-1604
>             Project: Jackrabbit Oak
>          Issue Type: Bug
>          Components: core
>            Reporter: Chetan Mehrotra
>            Priority: Minor
>
> As part of JCR-3534 Jackrabbit has introduced support for signed references for securely
transferring binary references across repositories sharing the DataStore
> Support for FileDataStore was added as part of OAK-805. However support for signed references
is missing. 
> As a fix signed references should be supported
> # org.apache.jackrabbit.oak.plugins.blob.BlobStoreBlob#getReference - It should probably
delegate to org.apache.jackrabbit.core.data.AbstractDataRecord#getReference if the underlying
BlobStore is based on DataStore
> # It should be possible to specify the signing key using OSGi config



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message