This API is used to submit a CAS login request. This API can be used only by security clusters that support Kerberos authentication.
POST /cas/login
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 |
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. |
Status Code |
Description |
---|---|
200 |
The login is successful. |
For details about error status codes, see Status Codes.