Skip to main content
Skip table of contents

user/ping/j_security_check

Authenticates a user session.

POST

Authenticates a user's session in the policy console after the user has been logged in with GET user/ping

Parameters

ParameterDescription
j_usernameRequired. The email address for a user.
j_passwordRequired. The password for a user.

Example request

Request

CODE
curl -L -b c.txt -c c.txt -X POST \
  https://bc.qwe.com/mocana-app-control/rest/user/ping/j_security_check \
  -d j_username="email01@qwe.com" \
  -d j_password="Qwerty1@"


Response

CODE
{
 "message": "",
 "status": "OK",
 "user": [{
   "email": "email01@qwe.com",
   "first_name": "John",
   "id": "de4c5da3-7a24-41da-8b0c-877ac497d713",
   "last_name": "Lennon",
   "ua_admin": "1",
   "ua_creation_date": "2016-09-06 10:51:57.0",
   "ua_modification_date": "2016-09-06 10:51:57.0",
   "ua_status": "1",
   "userUrl": "https://bc.qwe.com/mocana-app-control/rest/user/de4c5da3-7a24-41da-8b0c-877ac497d713"
 }]
}
JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.