forked from docs/doc-exports
Reviewed-by: gtema <artem.goncharov@gmail.com> Co-authored-by: Yang, Tong <yangtong2@huawei.com> Co-committed-by: Yang, Tong <yangtong2@huawei.com>
7.9 KiB
7.9 KiB
Logging In to the CAS
Function
This API is used to submit a CAS login request. This API can be used only by security clusters that support Kerberos authentication.
URI
POST /cas/login
Request
- Example:
POST /cas/login HTTP/1.1 Host: example.com Content-Type: application/json Accept:application/json username: String password: String lt: String _eventId: String Submit: String
- Parameter description
Parameter |
Mandatory or Not |
Description |
---|---|---|
username |
Yes |
User name |
password |
Yes |
Password |
lt |
Yes |
Login ticket. Follow instructions in step 1 in the Obtaining Request Authentication Information part of the section API Calling Process to send a GET request to obtain loginTicket. |
_eventId |
Yes |
Event type. The default value is submit. |
submit |
Yes |
Submission type. The default value is Login. |
Response
Status Code
Status Code |
Description |
---|---|
200 |
The login is successful. |
For details about error status codes, see Status Codes.
Parent topic: MRS Manager CAS APIs