Skip to main content
13-Aquamarine
July 17, 2020
Solved

Implementation of a digital signature

  • July 17, 2020
  • 3 replies
  • 2588 views

Hello,

 

I would like to implement a digital signature in Thingworx. The users should not login to the application, the system should ask for the password in a popup each time the user push a button. The authentication should be done by LDAP. I had a look to the LDAP Directory Service, but I couldn't find a way to validate a password. Is there another way to implement a signature?

Best answer by gch

Hi,

 

thanks for the answers! The users do not have to login in order to access the application. So I developed an extension to check the LDAP credential without using any Thingworx out-of-the-box stuff.

3 replies

16-Pearl
July 29, 2020

Hello gch,

 

I believe your solution would require the development of a Custom Authenticator.

 

To get started I would recommend checking out the Create An Authentication Extension Guide on the ThingWorx Developer Portal.

 

-Tyler

Community Manager
August 11, 2020

Hi @gch.

 

If you found the previous post helpful, please mark it as the Accepted Solution for the benefit of the others with the same issue.

 

Thank you for your participation in our community!

 

Regards.

 

--Sharon

19-Tanzanite
August 12, 2020

If you say that the authentication should be done by LDAP and that the user already sees the application, I would guess that the current user is already authenticated through LDAP.

I would try to create a very simple service VerifySignature (input parameters: User & Password, return boolean) that executes a separate GetText to one of the Thingworx APIs - like Thingworx/Things, where you pass the provided user and password to the GetText user and password input parameters. If you have setup LDAP auth in the ThingWorx server, then this authentication challenge will hit the LDAP - your required usecase.

If the result of that service contains a references to some Things - that would mean the authentication was successfull and you can return "true".

If the result of that service says: authentication unsuccessfull, or something like that, that means the supplied user and password were not good, and you can return "false".

 

 

 

gch13-AquamarineAuthorAnswer
13-Aquamarine
August 17, 2020

Hi,

 

thanks for the answers! The users do not have to login in order to access the application. So I developed an extension to check the LDAP credential without using any Thingworx out-of-the-box stuff.