Connecting to and authenticating with a target system
When a login message is accepted, the API returns a data structure that includes a session timeout period in seconds and a token that represents the session. The token is also returned as a cookie in the HTTP response header. To maintain your session, you must send login refresh messages to the API if no other messages are sent for a period longer than the session timeout period. The token changes each time the session is refreshed. The default session timeout period is 300 seconds (5 minutes).
When the probe shuts down, the probe sends a logout request to terminate the probe session with Cisco APIC.
Connection and authentication details are configured by the following properties in the ciscoApicTransport.properties file:
- loginRequestURI
- loginRequestMethod
- loginRequestContent
- loginRefreshURI
- loginRefreshMethod
- loginRefreshContent
- loginRefreshInterval
- logoutRequestURI
- logoutRequestMethod
- logoutRequestContent
For details about these properties, see Configuring the transport module.