Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [milo-dev] Opc UA Server: restrict what nodes a client can see

Right now the way to achieve this would be to look at the user belonging to the session in Namespace.browse() and filter what references you return based on the identity of the session. The identity object (Session.getIdentityObject) will be whatever the IdentityValidator configured on the server sets it to.

On Mon, Sep 11, 2017 at 2:45 AM, Samuli Saarinen <samuli.saarinen@xxxxxxxxxx> wrote:
Hi,

Is there a way to restrict the visibility of certain nodes from a client based on some policy? I can see from the examples that I can restrict the access of attribute values this way but I would like to eg. hide some folder nodes from browse also for a set of users.

It seems that I can attach a value delegate to UaFolderNode the same way as with UaVariableNode and use RestrictedAccessDelegate from the server examples but AFAIK it seems to have no effect. Or is there some other way to get this working?

br,
Samuli
_______________________________________________
milo-dev mailing list
milo-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/milo-dev


Back to the top