question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Pass client Identity in call to BootstrapStore.getBootstrap

See original GitHub issue

This is the example of the changed interface:

package org.eclipse.leshan.server.bootstrap;

import org.eclipse.leshan.core.request.Identity;

/**
 * A store containing the bootstrap information to be sent to the devices.
 */
public interface BootstrapStore {

    BootstrapConfig getBootstrap(String endpoint, Identity identity);

}

currently the BootstrapStore interface method only contains the String endpoint parameter.

  • Identity information is useful for implementing a multi-tenant Bootstrap Server where the endpoint name isn’t guaranteed to be unique across multiple tenants.

    • When the identity is provided, it is possible to implement a BootstrapStore that can use the autenticated client’s information for looking up the correct information to be used for bootstrapping.
  • In LwM2M 1.1, the endpoint name is optional in client initiated bootstrapping In 6.1.3.3. Client Initiated Bootstrap

    The LwM2M Client MAY omit “Endpoint Client Name” if it is equal to the identifier utilized in the security protocol.

    • changing the BootstrapStore interface will also prepare for LwM2M 1.1

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
sbernard31commented, Aug 2, 2018

#549 is integrated in master.

1reaction
sbernard31commented, Jul 31, 2018

Since this is a simple change and PRs cause some legal overhead with my customer, I unfortunately wasn’t planning to provide a PR for this change of a few lines of code. (I’m sorry…)

You made several contributions by the past by opening issues. I would have enjoyed you level up by contributing a very small PR 😉, but I understand your concern I would made the change myself soon.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Cards - Bootstrap
A card is a flexible and extensible content container. It includes options for headers and footers, a wide variety of content, contextual background...
Read more >
Administration Reference for Echidna 17.1 - Salt Group
Configure clients that can request authentication services from Echidna . ... used with RADIUS clients, LDAP user stores, bootstrap store users' passwords,.
Read more >
Installation issue: clingo-bootstrap: Could NOT find Python
Hi, @alalazo @tgamblin, This is in the bootstrap stage. ... Synapse doesn't pass errors from the identity server through to clients when verifying...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found