Cisco Cisco Security Manager 4.5 Guia De Especificação

Página de 217
 
 
 
  
 
Cisco Security Manager 4.4 API Specification (Version 1.1) 
 
OL- 29074-01 
Page  154
 
CSM Client Protocol State Machine 
7.1.1 Overview 
There are two pre-requisites before a CSM Client can make use of the services on the CSM Server. 
The 1
st
 prerequisite is that the client authenticates to the CSM Server. The 2
nd
 prerequisite is that the client verifies 
that all necessary services are active on the CSM server and the versions of those services match the version 
expected on the client. This process will return an authentication cookie that the client must use in subsequent calls 
to the interface. This flow is shown in the figure below.  
Admin enters IP 
address of CSM 
server and credentials
Call Login 
Request Method 
with credentials
Receive a valid AS 
cookie, Login 
Response + Matching 
protocol version
Report connection 
problem to admin
No
For each service 
used by client, call 
GetServiceInfo 
method
Yes
Is service active and 
version matches 
expected version on 
client
Report missing capability 
problem to admin, do not 
use inactive or incompatible 
service
No
Yes
Continue use 
of other 
services
Setup heartbeat 
URL listener for 
session
Store AS Cookie 
for use with other 
session access
Yes
 
Figure 99: Client Session Initiation Flowchart 
Once a session has been established the client may access the service methods for config, events and utility services.