How to retrieve pega.reset.username and pega.rest.password
I am reposting the question from the group since there is not answer to the below question. I have an exact same scenario.
I am working in Pega 7.3 Deployment automation functionality where in I have a requirement to implement the custom authentication in System Management Import service call. Import service getting called from prpcServiceUtils. By Default System Management package supports Basic authentication however i need to implement custom authentication ( I need to compare incoming the User and pwd from a different Source). So i have updated System Management package Authentication type to custom and trying to fetch the username and Password in Authentication service activity.
I verified the HTTPServlet Request Authorization Header it is blank. Through prpcServiceUtils script username and password will be passed in pega.reset.username and pega.rest.password respectively. Can someone pls let me know the java code to retrieve these params in Authentication activity.
***Updated by moderator: Lochan to add Categories***