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:
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:
- Status Code: 401 Unauthorized
- Content-Length: 1468
- Content-Type: text/html; charset=UTF-8
- Date: Sun, 13 Mar 2016 00:51:18 GMT
- WWW-Authenticate: Basic realm="PegaRULES"
- 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.