Cisco Cisco Security Manager 4.7 Guía Del Usuario

Descargar
Página de 290
 
 
 
  
 
Cisco Security Manager 4.7 API Specification (Version 2.0) 
 
OL- 32164-01 
Page  39
 
 
Figure 16: 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 
 
 
Figure 17: LogoutRequest XML Schema   
 
2.2.3.2 Response 
An example of the logout response is shown in the figure below.  The fields in these messages are described in the 
table below. 
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> 
 
<xs:element
 name
="logoutRequest"
 type
="LogoutRequest"/> 
<xs:complexType
 name
="
LogoutRequest
">
 
 
<xs:complexContent>
 
 
 
<xs:extension
 base
="
BaseReqResp
"/>
 
 
</xs:complexContent>
 
</xs:complexType>