Commit 138ec563 authored by Rucha Deshpande's avatar Rucha Deshpande
Browse files

add debug stsms

parent d561a222
......@@ -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;
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment