You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Konrad Windszus (JIRA)" <ji...@apache.org> on 2018/06/29 17:04:00 UTC

[jira] [Updated] (JCRVLT-307) UserData should be set to identify node/property changes done through the PackageManager

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

Konrad Windszus updated JCRVLT-307:
-----------------------------------
    Description: 
There is the method {{ObservationManager.setUserData(String)}} (https://docs.adobe.com/docs/en/spec/jsr170/javadocs/jcr-2.0/javax/jcr/observation/ObservationManager.html#setUserData(java.lang.String)) which allows to bind some arbitrary string with the session, so that for each event, which is being emitted due to Session.save() from this session the user data is available.

This would allow to determine in an arbitrary {{javax.jcr.observation.EventListener}} to determine whether a particular event was caused by a package manager installation.

  was:
There is the method {{ObservationManager.setUserData(String)}} (https://docs.adobe.com/docs/en/spec/jsr170/javadocs/jcr-2.0/javax/jcr/observation/ObservationManager.html#setUserData(java.lang.String)) which allows to bind some arbitrary string with the session, so that for each event, which is being emitted due to Session.save() from this session the user data is available.

This would allow to determine in an arbitrary {[javax.jcr.observation.EventListener}} to determine whether a particular event was caused by a package manager installation.


> UserData should be set to identify node/property changes done through the PackageManager
> ----------------------------------------------------------------------------------------
>
>                 Key: JCRVLT-307
>                 URL: https://issues.apache.org/jira/browse/JCRVLT-307
>             Project: Jackrabbit FileVault
>          Issue Type: Improvement
>          Components: vlt
>    Affects Versions: 3.1.44
>            Reporter: Konrad Windszus
>            Priority: Major
>
> There is the method {{ObservationManager.setUserData(String)}} (https://docs.adobe.com/docs/en/spec/jsr170/javadocs/jcr-2.0/javax/jcr/observation/ObservationManager.html#setUserData(java.lang.String)) which allows to bind some arbitrary string with the session, so that for each event, which is being emitted due to Session.save() from this session the user data is available.
> This would allow to determine in an arbitrary {{javax.jcr.observation.EventListener}} to determine whether a particular event was caused by a package manager installation.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)