Техническое Руководство для Cisco Cisco Security Manager 4.0

Скачать
Страница из 217
 
 
 
  
 
Cisco Security Manager 4.4 API Specification (Version 1.1) 
 
OL- 29074-01 
Page  155
 
A client that has registered for heartbeat callback should follow the flow defined below. 
Client receives a 
heartbeat message at 
the defined URL
Does the AS cookie match from 
the login request for the CSM 
server
Drop the active 
session and 
reauthenticate
No
Yes
Continue use 
of other 
services
Respond to the 
heartbeat 
message
Does the IP address 
match a server 
authenticated to with an 
active session?
Drop the packet
No
Yes
 
Figure 100: Client Heartbeat Processing Flowchart 
A client that has not registered for heartbeat callback but wishes to maintain an active session on the CSM server 
must call the ping method periodically. 
Client reads the 
session timeout 
returned in the login 
response
Terminate 
session
Send ping request
Receive a ping 
response
Yes
Setup a timer based 
on the session timeout 
and wait for it to fire
No
 
Figure 101: Client Ping Processing Flowchart