### User Authentication User authentication in the RAS multi-tenant architecture is performed by the RAS Publishing Agent running in the Tenant Farm. The Publishing Agent is selected randomly by a shared RAS Secure Client Gateway. If the Publishing Agent is unavailable, then it's marked accordingly and no communication is conducted with it from the same shared gateway for a period of time. The gateway checks the Publishing Agent status periodically and resumes communications as soon as the agent becomes available.