Cisco Cisco Security Manager 4.7 Guia De Especificaciones
![Cisco](https://files.manualsbrain.com/attachments/7380d0050044647c30f5c24bbbf5d0c0b6d9bb84/common/fit/150/50/faa183d287233c52228cfea3dbc2a127fe780f60564fcb0955d9c3d1cd23/brand_logo.png)
Cisco Security Manager 4.4 API Specification (Version 1.1)
OL- 29074-01
Page 31
Figure 11: LoginRequest XML Schema
2.2.2.2 Response
The Login API validates the user credentials and returns a session token as a secure cookie. The session value is
stored under the “asCookie” key. This session has a default session inactivity timeout of 15 minutes. An example of
the HTTP Header and XML content response is shown in figure below. The fields in these messages are described
in table below.
stored under the “asCookie” key. This session has a default session inactivity timeout of 15 minutes. An example of
the HTTP Header and XML content response is shown in figure below. The fields in these messages are described
in table below.
serviceVersion will be 1.1 for the following Services for:
- Config Service
- Events Service
- Utility Service
Figure 12: login Response Example
<xs:element
name
="
loginRequest
"
type
="
LoginRequest
"/>
<xs:complexType
name
="
LoginRequest
">
<xs:complexContent>
<xs:extension
base
="
BaseReqResp
">
<xs:sequence>
<xs:element
name
="
username
"
type
="
xs:string
"
minOccurs
="
1
"
maxOccurs
="
1
"/>
<xs:element
name
="
password
"
type
="
xs:string
"
minOccurs
="
1
"
maxOccurs
="
1
"/>
<xs:element
name
="
heartbeatRequested
"
type
="
xs:boolean
"
minOccurs
="
0
"
maxOccurs
="
1
"/>
<
xs:element
name
="callbackUrl"
type
="xs:string"
minOccurs
="0"
maxOccurs
="1"/>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
HTTP Header:
Set-Cookie: asCookie=732423sdfs73242; expires=Fri, 31-Dec-2010 23:59:59 GMT; path=/;
domain=.hostdomain.com
XML Content:
<?xml version=”1.0” encoding=”UTF-8”?>
<loginResponse>
Set-Cookie: asCookie=732423sdfs73242; expires=Fri, 31-Dec-2010 23:59:59 GMT; path=/;
domain=.hostdomain.com
XML Content:
<?xml version=”1.0” encoding=”UTF-8”?>
<loginResponse>
<protVersion>1.0</protVersion>
<serviceVersion>1.0.1</serviceVersion>
<sessionTimeoutInMins>15<sessionTimeoutInMins>
<serviceVersion>1.0.1</serviceVersion>
<sessionTimeoutInMins>15<sessionTimeoutInMins>
</loginResponse>