General Development Process
To develop an authenticator extension for edge devices that use security claims for authentication, do the following:
Develop an authenticator extension for the ThingWorx Platform that handles the validation of security claims submitted by an Edge device.
Add security claims to the Edge device so they are sent to the ThingWorx Platform.
Use the following two procedures in conjunction with the detailed information provided in ThingWorx Extensibility.
Creating an Authenticator Extension
1. Download the ThingWorx Extensions SDK (for example, ThingWorx-Extension-SDK-n-n-n) from the PTC Software Downloads page.
2. Download the Eclipse IDE from Eclipse.
3. Download the Eclipse Plugin for ThingWorx Extensions (for example, thingworx-eclipse-plugin-n.n.n.zip) from the PTC Software Downloads page, then install the plugin in Eclipse.
4. Configure the Eclipse Plugin for ThingWorx Extensions with the ThingWorx Extensions SDK.
5. Create a new extension using the Eclipse Plugin for ThingWorx Extensions.
6. Create your authenticator extension implementation. Refer to the Edge Device Authenticator Extension Example, and copy the example to your project.
7. Use the Eclipse Plugin for ThingWorx Extensions to build/package the extension.
8. Using ThingWorx Composer, import the extension into the ThingWorx Platform, and verify the extension is installed under Security — Authenticators.
Adding Security Claims to the Edge Device
1. Download the ThingWorx Edge Java SDK (for example, ThingWorx-Java-SDK-n-n-n-n) from the PTC Software Downloads page.
2. Create the Edge device security claims implementation using the ThingWorx Edge Java SDK. Refer to the Edge Device Security Claims Example, and copy the example into your project.
Was this helpful?