Skip to content
Snippets Groups Projects
Commit 138ec563 authored by Rucha Deshpande's avatar Rucha Deshpande
Browse files

add debug stsms

parent d561a222
No related branches found
No related tags found
1 merge request!137Aws xuserid fix
......@@ -154,6 +154,10 @@ public class PubsubEndpoint {
}
private String querySubscriptionAndUpdateCache(String notificationId) throws Exception {
Map<String,String> hmap = headers.getHeaders();
String auth_header = hmap.get("authorization");
System.out.println("Notification token before creating subscription service= "+auth_header);
ISubscriptionService service = subscriptionFactory.create(headers);
List<Subscription> subscriptionList = service.query(notificationId);
......
......@@ -105,6 +105,7 @@ public class ServiceAccountJwtAwsClientImpl implements IServiceAccountJwtClient
@Override
public String getIdToken(String s) {
String token= sp.getServicePrincipalAccessToken(client_credentials_clientid,client_credentials_secret);
System.out.println("This is the client credentials token = " + token);
return token;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment