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***
**Moderation Team has archived post**
This post has been archived for educational purposes. Contents and links will no longer be updated. If you have the same/similar question, please write a new post.
Following changes needs to be done.
1)Within Authentication service(Which is configured in SystemManagement service package) - Custom Tab
Use Basic authentication for signon - Should be checked.
2) Source Of Operator Credentials
Use Externally stored credentials
3) Within Authentication activity -Step1
Check condition param.UserIDentifier = "" || param.password == ""
If above condition true set param.pyChallenge = @java("PRAuthentication.DEFAULT_CHALLENGE")
Else continue with custom authentication logic
Keep up to date on this post and subscribe to comments
- Custom Authentication in SystemManagement Import service- How to retrieve pega.reset.username and pega.rest.password
- Reset or retrieve the Password on Ruleset version
- Pega 8.3 OAuth2 / GrantType Password- How to set username/password
- Username & Password of DerbyDatabase(Pega DB)
- How to pass Username and password under MQRFH2 header in MQ request from PEGA