Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[leshan-dev] Leshan AclConfig

Hello,
I have got question regarding the ACL config object. From the documentation (page 109) we can read:
"The bit order is specified as below. 1st LSB: R(Read, Observe, Write-Attributes) 2nd LSB: W(Write) 3rd LSB: E(Execute) 4th LSB: D(Delete) 5th LSB: C(Create) Other bits are reserved for future use."
So what exactly does leshan expect from me to send him? Is it something like for: 

Value=ToBeSend
R=1
W=10
E=100
D=1000
C=10000

and then appropriately if user configure for an instance R and C for whatever server  then long which is expected in org.eclipse.leshan.server.bootstrap.BootstrapConfig.AclConfig; in the acls property will be 10001?

Is this a correct understanding?

I have found thread which could possess information about this. However, it has not been responded to.
https://www.eclipse.org/lists/leshan-dev/msg00485.html

I am looking forward to hearing from you.
Adam.

Back to the top