Skip to main content
April 12, 2022
Question

Get requester information from the Client API in Connected System Plugin.

  • April 12, 2022
  • 8 replies
  • 0 views

We are trying to get the token out of the Client API in the Connected System from the Component. We need the username or any user details to generate the token for those requesting the token from the Component. We can send the logged-in user information in the payload of the request, but due to security concerns, we shouldn't pass any user details in the request.

Is there any way that we can get the requester details from the Connected System?

We tried getting a username from ProxyConfigurationData(Java object) got from ExecutionContex(Java object). It returns a null value if a proxy is not configured.

We didn't get any user details from the SimpleClientApiRequest object.

Please let us know if there is any other way or workaround to get the requester details from Connected System. Also is there any possibility that we can get requester details in servlet?

Thanks,

Santhosh Kumar A

8 replies

stefanhelzle0001
Brainy
April 12, 2022

Is there any reason you do not pass in the user as a value in the integration?

April 13, 2022

Yes, our customers are very concerned about the user details sent in the integration. Anyone in the Client system can see the user details in the developer tools of the browser.

stefanhelzle0001
Brainy
April 13, 2022

Please help me, I do not understand this. An integration in Appian and the data exchanged is not visible in any browser. Can you elaborate on your use case?