Information about the supported requests by login servlet in HTTP server in order to create custom login page.
Supported Requests
Request URI |
Request Method |
Parameters |
Parameter Description |
Response Code |
Response Body |
Response Headers |
Session Properties |
Description |
|---|---|---|---|---|---|---|---|---|
system/http/login |
GET |
none |
none |
200 |
The content of the login.html page, taken from:
|
none |
Added if missing: DefaultHttpContext.RedirectPage=/ |
Requests the login page. |
POST |
String: u |
u - the user name |
302 |
none |
Location=/or the last requested URI (except for AJAX requests) – taken from the DefaultHttpContext.RedirectPage session property – If remember-me flag is used: cookie with name mbs.http.login.auto |
– Added: |
Successful login, the user is redirected to the dashboard, or to the last requested URI (not counting the AJAX requests). |
|
POST |
String: u |
u – the user name |
401 |
The content of the 401 html page, taken from:
|
none |
|
|
|
system/http/logout |
POST |
none |
none |
200 |
The content of the login.html page, taken from:
|
none |
session is invalidated |
Logout, session is invalidated, the client is redirected to the login page. |