Switch Access group for Rest API
We are planning to use service account for API calls, hence there is a requirement to switch access group of the service account dynamically runtime. PEGA invokes InitialProfileSetup(Final), ApplicationSetup(Extension available), ApplicationSetup(Extension available) during API calls if the APIs are secured. I tried to save the above extension activities under unauthenticated ruleset , my application ruleset and try to run the java code that switches access groups . But the ruleset stack does not pickup neither unauthenticated nor the application rulesets. I tried to add the access groups on to my Requestor Types, updated the service package access group etc. but the ruleset stack does not seem to reflect this. Any thoughts ?