Path: / {BASE} / user / login

Throws a AccessDeniedException if currently no user is logged in (aka: current user is anonymous).


Resource Methods
Method Summary
NameDescription
GET /{BASE}/user/login?logout=…&user=…Throws a AccessDeniedException if currently no user is logged in (aka: current user is anonymous).

Method Detail

GET /{BASE}/user/login

Throws a AccessDeniedException if currently no user is logged in (aka: current user is anonymous).

HTTP Example:
GET /{BASE}/user/login?logout=…&user=…
Referer: …
API Example:

UserWebService.login({'logout': /* logout set to true to log out (does currently nothing) */,
  'user': /* Throws a AccessDeniedException if currently no user is logged in (aka: current user is anonymous). */,
  'Referer': /* ref the referer to redirect to */});

Output:
Response - a redirect to the referer url
Query parameters:
logout - set to true to log out (does currently nothing)
user
Header parameters:
Referer - the referer to redirect to
HTTP return codes:
303 - if the user is already logged in (or logout == true)