Close popover
Dhirendra Pal Singh (DPSSingh)

DPSSingh Member since 2009 53 posts
Posted: March 12, 2016
Last activity: May 23, 2016

pega.getAuthenticationHandle().performAuthentication()  doesnt work as expected after upgrade

Hi All - We recently upgraded to 7.1.9 from 7.1.5 and now pega.getAuthenticationHandle().performAuthentication() method is always returning true.

We have existing REST service which accepts credential in Post method body and in service activity we are trying to authenticate user which is always returning true whether user id is correct or not and whether password is correct or not. Same service is working as expected in the environment where we didn't upgrade yet.

I also tried using Authentication (BASIC - Use TLS/SSL (REST only))at service package level after upgrade as an alternative to above approach to have authentication at service level but it didn't work and I kept getting 401- Authenticated error from Mozilla REST client as shown below:

  1. Status Code: 401 Unauthorized
  2. Content-Length: 1468
  3. Content-Type: text/html; charset=UTF-8
  4. Date: Sun, 13 Mar 2016 00:51:18 GMT
  5. WWW-Authenticate: Basic realm="PegaRULES"
  6. X-Powered-By: Servlet/2.5 JSP/2.1

Could someone let me know if something changed regarding pega.getAuthenticationHandle().performAuthentication()API in 7.1.9 and if not supported now then I will try to debug more about authentication at service package level.

System Administration Upgrades Security
Moderation Team has archived post