You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by Paco Avila <pa...@git.es> on 2006/07/21 14:06:03 UTC

checked node access in AccessManager

I'm implementing my own access manager and I have some issues. In
isGranted method I get the ItemId. If it is a Node, I can typecast it as
(NodeId) itemId. Now I can access to method getUUID() and locate the
checked node using session. But what about nodes with no "jcr:uuid"
atribute? 

So, I need to access to tested access node to get some properties.
-- 
Paco Avila <pa...@git.es>


Re: checked node access in AccessManager

Posted by Tobias Bocanegra <to...@day.com>.
use this:
SessionImpl:
   public NodeImpl getNodeById(NodeId id);

regards, toby

On 7/21/06, Paco Avila <pa...@git.es> wrote:
> I'm implementing my own access manager and I have some issues. In
> isGranted method I get the ItemId. If it is a Node, I can typecast it as
> (NodeId) itemId. Now I can access to method getUUID() and locate the
> checked node using session. But what about nodes with no "jcr:uuid"
> atribute?
>
> So, I need to access to tested access node to get some properties.
> --
> Paco Avila <pa...@git.es>
>
>


-- 
-----------------------------------------< tobias.bocanegra@day.com >---
Tobias Bocanegra, Day Management AG, Barfuesserplatz 6, CH - 4001 Basel
T +41 61 226 98 98, F +41 61 226 98 97
-----------------------------------------------< http://www.day.com >---