Cisco Cisco Security Manager 4.11 Guía Del Usuario
Cisco Security Manager 4.11 API Specification (Version 2.3)
Page 40
HTTP Header/XML
Argument
Argument
Definition
Returns
200 OK
401 Unauthorized
Method specific errors:
Code
Description
7
Authentication Failure: Invalid username and/or password specified
8
Authorization Failure: Login session error. The asCookie contained in the request is
incorrect. This error can also occur if the session is stale (invalidated/timed out). The
session can be kept alive by using ping or heartbeat.
incorrect. This error can also occur if the session is stale (invalidated/timed out). The
session can be kept alive by using ping or heartbeat.
9
Maximum active session limit reached. No more sessions are allowed. (See API
Administration options Section 1.12 )
Administration options Section 1.12 )
10
An error was encountered while connecting to a server resource. (Also applicable for
logout method)
logout method)
11 & 12
User input validation errors. Returned under any of the following conditions:
• An error occured while parsing user input.
• Heartbeat tag missing
• Invalid callback URL specified or Callback URL is missing
• Callback URL specified when heartbeat requested is false
14
Session Creation failed
16
Only HTTPS protocol allowed for callback url
Table 14: Login Method Error Codes
2.2.3 Method logout
The logout method notifies the CSM server that a previously authenticated CSM client is no longer requiring session
access to the CSM server. The CSM client should logout from the CSM server if it does not intend to access
methods on the CSM server within the session access timeout window.
access to the CSM server. The CSM client should logout from the CSM server if it does not intend to access
methods on the CSM server within the session access timeout window.
2.2.3.1 Request
An example of the method logout request is shown in the figure below. The fields in these messages are described
in the table below.
in the table below.