Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[leshan-dev] Leshan lwm2m server Securitystore

Hello,

I am implementing the org.eclipse.leshan.server.security.SecurityStore interface in the leshan server (running 1.0.0-M8). I have a question about getByEndpoint() method. I would rather not return anything from this (as the keys are stored in another system, and could be multiple by endpoint). 

How is the getByEndpoint() used when running leshan lwm2m server? 

I see no situation where a SecurityInfo should be fetched by endpoint instead of by identity.

getByEndpoint() is called from LwM2mPskStore, and I have read forum entries about future implementations that it could be used when leshan lwm2m server acts as a client in the DTLS handshake (after a failover or reboot of the lwm2m server). I also see it is used in the DefaultAuthorizer, but this we have overridden.

Do you see any ohter usages of this?

best regards
Magnus


Back to the top