How apereo/cas works
Apereo CAS is a web identity provider and single-sign-on server. Its principal user flow is a browser login handled by the central authentication service, which authenticates a user and enables access through supported identity protocols. The repository also documents delegated identity, multifactor authentication, authorization, application registration, consent, and operational auditing. The tree and sampled sources show central-service, authentication, service-access, surrogate, and trusted-device responsibilities; many protocol and integration implementations are unsampled, so those capability links reflect README documentation rather than inspected call paths.
Main entry points: DefaultCentralAuthenticationService.java Central CAS Service · AuthenticationManager.java Authentication Engine · support Multifactor Login · Principal.java User Principal
Components 15
Identity Core
- Central CAS Service
core/cas-server-core/src/main/java/org/apereo/cas/DefaultCentralAuthenticationService.java - Authentication Engine
api/cas-server-core-api-authentication/src/main/java/org/apereo/cas/authentication/AuthenticationManager.java - User Principal
api/cas-server-core-api-authentication/src/main/java/org/apereo/cas/authentication/principal/Principal.java - Application Service
api/cas-server-core-api-authentication/src/main/java/org/apereo/cas/authentication/principal/Service.java - JDBC Authentication
support/cas-server-support-jdbc-authentication/src/main/java/org/apereo/cas/jdbc/QueryDatabaseAuthenticationHandler.java
Identity Protocols
- CAS / SAML Protocols
support - OAuth / OIDC
support/cas-server-support-oauth-core-api - Delegated Login
support
Access Security
- Multifactor Login
support - Trusted Devices
support/cas-server-support-trusted-mfa-core/src/main/java/org/apereo/cas/trusted/authentication/storage/BaseMultifactorAuthenticationTrustStorage.java - Authorization
support/cas-server-support-heimdall - Application Registration
support/cas-server-support-gcp-storage-service-registry - Consent
support/cas-server-support-consent-core/src/main/java/org/apereo/cas/consent/DefaultConsentEngine.java
Operations
- Audit Trail
api/cas-server-core-api-audit/src/main/java/org/apereo/cas/audit/AuditTrailExecutionPlan.java
Other components
- Browser User
Connections 14
- Browser User → Central CAS Service: starts login
README.md - Central CAS Service → Authentication Engine: authenticates
- Authentication Engine → JDBC Authentication: supports credentials
- Authentication Engine → User Principal: resolves identity
- Central CAS Service → Application Service: serves applications
core/cas-server-core/src/main/java/org/apereo/cas/DefaultCentralAuthenticationService.java - Central CAS Service → CAS / SAML Protocols: supports SSO
README.md - Central CAS Service → OAuth / OIDC: supports tokens
README.md - Central CAS Service → Delegated Login: delegates login
README.md - Central CAS Service → Multifactor Login: supports MFA
README.md - Multifactor Login → Trusted Devices: remembers devices
support/cas-server-support-trusted-mfa-jdbc/src/main/java/org/apereo/cas/trusted/authentication/storage/JpaMultifactorAuthenticationTrustStorage.java - Central CAS Service → Authorization: supports authorization
README.md - Central CAS Service → Application Registration: supports registration
README.md - Central CAS Service → Consent: supports consent
README.md - Central CAS Service → Audit Trail: records audits
README.md