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

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

  Discussion posts and replies are publicly visible

Parents Reply Children