The login
actor-chain is used to log the customer into the site and verify the appropriate login and password credentials.
Parameter | Description |
---|---|
| The customer login, for example, |
| The customer’s password. |
Customer Log In Example
curl -L -v -b customer_cookies.txt -H "Content-Type: application/json" -d "{ \"login\" : \"JohnDoe@example.com\" , \"password\" : \"password123\" }" "http://localhost:8280/rest/model/atg/userprofiling/ProfileActor/ login"
If the log in information is incorrect, the following exception might occur:
{"formError":true,"formExceptions":[{"localizedMessage":"The password and login do not match","errorCode":"invalidPassword"}]}