The login actor-chain is used to log the customer into the site and verify the appropriate login and password credentials.

Parameter

Description

login

The customer login, for example, user@example.com.

password

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"}]}

Copyright © 1997, 2014 Oracle and/or its affiliates. All rights reserved. Legal Notices