Cisco Cisco Security Manager 4.11 Guía Del Usuario
Cisco Security Manager 4.11 API Specification (Version 2.3)
Page 225
8 CSM Client Protocol State Machine
8.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.
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
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
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 181: Client Session Initiation Flowchart
Once a session has been established the client may access the service methods for config, events and utility services.
A client that has registered for heartbeat callback should follow the flow defined below.