Announcing the Saviynt Knowledge Exchange unifying the Saviynt forums, documentation, training,
and more in a single search tool across platforms. Read the announcement here.

How to mask password value shown in change password provisioning comment

poonammhetre
New Contributor II
New Contributor II

Hello,

We are using REST connector to perform the change password operation for one of our application. We have noticed that when change password gets failed due to escape characters then it shows passowrd in plain text in provisioning comment.

auditDetails":{"call1":[{"message":"Unrecognized character escape '2' (code 50)\n at [Source: {\"password\":\"example\\26\"}; line: 1, column: 24]","status":"Failed"}

 

Below is the change password code we are using.

 

{
"call": [
{
"name": "call1",
"connection": "userAuth",
"url": "https://xxxxx/ords/sis_owner/xxx/idm/staff/${user.employeeid}",
"httpMethod": "POST",
"httpParams": "{\"password\":\"${org.apache.commons.lang.StringEscapeUtils.escapeJava(arsTasks.getPassword())}\"}",
"httpHeaders": {
"Content-Type": "application/json",
"Authorization": "${access_token}"
},
"httpContentType": "application/json",
"successResponses": {
"statusCode": [
200,
201,
204
]
}
}
]
}

 

Is there any way to not to show the password in provisioning comment if change password operation fails due to some reason.

 

Thanks,

Poonam

5 REPLIES 5

rushikeshvartak
All-Star
All-Star

In case of success does it captures of shows password ?


Regards,
Rushikesh Vartak
If you find the response useful, kindly consider selecting Accept As Solution and clicking on the kudos button.

poonammhetre
New Contributor II
New Contributor II

@rushikeshvartak  Yes, It shows the password only in case of failure in provisioning.

Use passport policy and escape characters causing issue


Regards,
Rushikesh Vartak
If you find the response useful, kindly consider selecting Accept As Solution and clicking on the kudos button.

NM
Regular Contributor III
Regular Contributor III

Hi @poonammhetre , is it using the same password that is shown in the log at the time of failure? once the task is completed successfully? or does it send out a different one..?

poonammhetre
New Contributor II
New Contributor II

@NM  It shows same password in provisioning comment which user has entered during change password operation.