jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jukka Zitting (JIRA)" <j...@apache.org>
Subject [jira] Updated: (JCR-792) after enabling access manager, I can't createNode and setProperty without a node.save in the middle
Date Thu, 05 Apr 2007 11:40:32 GMT

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

Jukka Zitting updated JCR-792:
------------------------------

        Fix Version/s: 1.3
    Affects Version/s: 0.9
                       1.0
                       1.0.1
                       1.1
                       1.1.1
                       1.2.1
                       1.2.2

> after enabling access manager, I can't createNode and setProperty without a node.save
in the middle
> ---------------------------------------------------------------------------------------------------
>
>                 Key: JCR-792
>                 URL: https://issues.apache.org/jira/browse/JCR-792
>             Project: Jackrabbit
>          Issue Type: Bug
>          Components: security
>    Affects Versions: 0.9, 1.0, 1.0.1, 1.1, 1.1.1, 1.2.1, 1.2.2, 1.2.3
>            Reporter: Xiaohua Lu
>         Assigned To: Stefan Guggisberg
>             Fix For: 1.3
>
>         Attachments: jaas.config, JackrabbitTest.java, ntExts.txt, TestAccessManager.java,
TestLoginManager.java
>
>
> I added my own access manager. after that I can't get the following code working 
> Node n = createNewNode(parentNode);
> n.setProperty();
> parentNode.save();
> It seems that setProperty will invoke access control check, but since the new node is
not in the repository yet, my access manager implementation won't be able to grant permission.
I also tried to use hierachyManager to get the path of the new node, it also returned null.


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


Mime
View raw message