Skip to content

Sessions & Multi-Domain

Session lifecycle

  • login_coordinator.py — handles initial login, and re-login/backoff if a session expires mid-use.
  • session_cleaner.py — background cleanup of stale sessions, so long-running processes don't leak SIDs on the management server.
  • rate_limiter.py — per-server concurrency gating (ArodonataSettings.concurrent_limit), so a burst of cache-refresh work doesn't overload a single management server.

Session and login retry behavior is configured through ArodonataSettings.session_expire_seconds, session_timeout, login_retry_backoff, and login_max_retries — see the Configuration Guide.

Multi-domain (MDM) resolution

Check Point Multi-Domain Management servers expose multiple domains behind one management IP. Arodonata resolves and propagates domain context through domain_service.py, so every cache row and every helper-method result carries its owning mgmt_name/domain_name pair — letting callers filter (client.get_hosts(domain_names=["Domain1"])) without re-deriving domain membership themselves.