This API available for validate the user password. You can validate user password through the HTTP POST method, URL http://<host>:<port>/catissuecore/rest/ng/users/validatePassword/{password}
Below are the attributes which need to be sent in the request body:
Parameter | Details |
---|---|
password | Password that needs to be validate |
API Example :
URL | catissuecore/rest/ng/users/validatePassword/{password} |
Method | POST |
Request | application /json |
Response | true / false |
Conditions For Password Validation :
- Password Should be of length 8-20 characters
- Password Should contain at least one numeric field [ 0 - 9 ]
- Password Should contain at least one capital letter [ A - Z ]
- Password Should contain at least one small letter [ a - z ]
Error Cases :
code | Applies to | Status Message |
---|---|---|
200 | All resources | User has been validated successfully |
400 | All requests | Invalid parameters, e.g duplicate Login Name, duplicate Email Address, blank First Name etc |
401 | All requests | Authorization failed, User doesn’t have Authority |
404 | All requests | User not found, User with given details not present in the system |
500 | All requests | Internal server error, Encountered server error while performing operations |