Cisco Cisco Security Manager 4.7 Guia De Especificaciones

Descargar
Página de 217
 
 
 
  
 
Cisco Security Manager 4.4 API Specification (Version 1.1) 
 
OL- 29074-01 
Page  34
 
 
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. 
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. 
 
Figure 15: logout Request Example  
Table 15: logout Request Elements and Attributes Descriptions 
HTTP/XML Argument 
Definition 
logoutRequest 
XML argument that logs out the CSM client from the CSM server 
HTTP Method 
POST 
HTTP Header: asCookie 
The cookie returned by the login method that identifies the authentication 
session 
Returns 
200 OK + XML 
 
401 Unauthorized 
 
URL: 
 
https://hostname/nbi/logout 
  
HTTP Header: 
 
Set-Cookie: asCookie=732423sdfs73242; expires=Fri, 31-Dec-2010 23:59:59 GMT; path=/; 
domain=.hostdomain.com  
 
XML Argument: 
 
<?xml version=”1.0” encoding=”UTF-8”?> 
<logoutRequest> 
<protVersion>1.0</protVersion> 
<reqId>123</reqId> 
</logoutRequest>