Extensions enable you to quickly and easily add new functionality to an IoT solution. Extensions can be service (function/method) libraries, connector templates, functional widgets, and more.
These pointers and steps will enable you to maintain focus on development of your own application and still utilize the power of ThingWorx for other purposes at the same time.
When to Utilize:
- You have your own login from outside of ThingWorx but you want to leverage ThingWorx user management
- You are using an identity provider other than ThingWorx
- You need to support passing of credentials in headers/query string parameters which ThingWorx doesn’t support out-of-the-box
Whether you would like ThingWorx to handle the security for your application, have an application you want ThingWorx to pump data into, or would just like to utilize ThingWorx features in your own application, external authentication can be a great way to integrate your application with ThingWorx. This guide will focus in on how to create an authentication middle man between a system you have already developed (or are in the middle of creating) and connect it to the ThingWorx Platform. In a provided demo website, you will login (with the provided credentials) and validate your user profile and password with ThingWorx. This setup shows the simple integration between ThingWorx and an application you would like to connect to the ThingWorx Platform.
|Est. Time||60 Minutes|
|Published||September 17, 2019|
You'll learn how to
- Install the Eclipse plugin and extension SDK
- Create authentication application
- Build and import an extension
Things used in this guide
This guide may be completed within any environment in which you have access to the ThingWorx Foundation server.
This includes the hosted evaluation server as well as downloadable trials. You can use either Gradle or Ant to build your ThingWorx Extension Project.
Before you start, ensure you have the following software installed.
You are provided a complete example that can be utilized as a reference for completion as you go through the guide or for insight into how the following steps can be completed.
NOTE: If you use Gradle as the build tool, in your Eclipse application, download the Gradle STS IDE plugin from Help->Eclipse Marketplace, then restart your workspace. This plugin does not work with all versions of Eclipse.