Техническое Руководство для Cisco Cisco Security Manager 4.0
Cisco Security Manager 4.4 API Specification (Version 1.1)
OL- 29074-01
Page 30
Figure 10: login Request Example
Table 11: login Request Elements and Attributes Descriptions
XML Argument
Definition
loginRequest
login request authenticates the client against the server and returns a cookie that
should be used in subsequent requests
should be used in subsequent requests
username
The CSM client username associated with the session
password
The CSM client password associated with the session
heartbeatRequested
This attribute may be optionally defined. If the attribute is set to true then the
CSM client will receive a heartbeat callback from the CSM server. The server
will try to ping the client with a frequency close to (inactivity timeout) / 2
minutes. If the client does not respond to the heartbeat then the API retries the
hearbeat during the next interval. If the heartbeat is successful then the session
inactivity timeout is reset.
CSM client will receive a heartbeat callback from the CSM server. The server
will try to ping the client with a frequency close to (inactivity timeout) / 2
minutes. If the client does not respond to the heartbeat then the API retries the
hearbeat during the next interval. If the heartbeat is successful then the session
inactivity timeout is reset.
callbackUrl
The URL at which the CSM server will make the callback. This needs to be
specified if the heartbeatRequested is true. Only HTTPS based callback URLs
are allowed
specified if the heartbeatRequested is true. Only HTTPS based callback URLs
are allowed
HTTP Method
POST
Returns
200 OK + XML
401 Unauthorized
URL:
</loginRequest>