GET /{BASE}/user/loginThrows 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': , 'user': , 'Referer': }); |
- 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 )
|
AccessDeniedException
if currently no user is logged in (aka: current user is anonymous).