Design and Implementation of a Highly Available Authentication and Authorization System in a University Environment
- 18 March 2026
- conference paper
- Published by Institute of Electrical and Electronics Engineers (IEEE)
- p. 1-6
Abstract
Ensuring uninterrupted access to digital services such as learning management systems, email, and student portals is essential for the operational continuity of modern educational institutions. Single Sign-On (SSO) systems streamline authentication by enabling centralized identity management, but they inherently introduce a critical single point of failure (SPOF). This paper presents the design and experimental validation of a highly available, container-based SSO architecture tailored for university environments using open-source components. The proposed solution integrates Keycloak for identity and access management, HAProxy with Keepalived for resilient load balancing, and PostgreSQL with streaming replication for data persistence. Automated failover is achieved at the application and load balancing layers with sub-second recovery, while custom monitoring enables database layer recovery within 20 seconds. The architecture eliminates SPOFs across all major layers without relying on complex orchestration frameworks, offering a replicable and lightweight blueprint for resilient authentication infrastructure in academic settings.Keywords
This publication has 8 references indexed in Scilit:
- University Identity and Access Management Infrastructure with Keycloak: Lessons Learned2024
- Security Posture Improvement with High-Availability Keycloak SSO2024
- The devil is in the (implementation) details2012
- The OAuth 2.0 Authorization Framework2012
- Virtual Router Redundancy Protocol (VRRP) Version 3 for IPv4 and IPv62010
- Basic concepts and taxonomy of dependable and secure computingIEEE Transactions on Dependable and Secure Computing, 2004
- Dynamic load balancing on Web-server systemsIEEE Internet Computing, 1999
- Dependability: Basic Concepts and Terminology1992