Hi,

I need to know if a role has access to a paricular node, then I inteneded to use the matching method in ACLSecurity:

hasPermission(ObjectNode object, SubjectNode subject,
                                 ActionNode action)

Unfortunaltely it is deprecated (at Security level, but it is implemented in SecurityImpl and recover by a fake method in ACLSecurityImpl) !
First issue: why is it deprecated ?

In the documentation , it is advise to use the other method:
hasPermission(SlideToken token, ObjectNode object, ActionNode action)
But this last one doesn't match to my needs: it suppose that a token can be created for a role...

Is there another method to use instead of these 2 ones ?

Thanks

--
Vincent JAMMET


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to