Configuration
The CAS authentication process is primarily controlled by an authentication manager, which orchestrates a collection of authentication handlers.
Authentication Manager
CAS ships with a single yet flexible authentication manager which performs authentication according to the following contract.
For each given credential do the following:
- Iterate over all configured authentication handlers.
- Attempt to authenticate a credential if a handler supports it.
- On success attempt to resolve a principal.
- Check whether a resolver is configured for the handler that authenticated the credential.
- If a suitable resolver is found, attempt to resolve the principal.
- If a suitable resolver is not found, use the principal resolved by the authentication handler.
- Check whether the security policy (e.g. any, all) is satisfied.
- If security policy is met return immediately.
- Continue if security policy is not met.
- After all credentials have been attempted check security policy again and throw
AuthenticationException
if not satisfied.
There is an implicit security policy that requires at least one handler to successfully authenticate a credential.
To see the relevant list of CAS properties, please review this guide.
Authentication Handlers
There are a variety of authentication handlers and schemes supported by CAS. Use the menu to navigate around the site and choose.
To test the default authentication scheme in CAS, use casuser and Mellon as the username and password respectively. These are automatically configured via the static authencation handler, and MUST be removed from the configuration prior to production rollouts.
Principal Resolution
Please see this guide more full details on principal resolution.
Principal Transformation
Authentication handlers that generally deal with username-password credentials can be configured to transform the user id prior to executing the authentication sequence.
To see the relevant list of CAS properties, please review this guide.
Long Term Authentication
CAS has support for long term Ticket Granting Tickets, a feature that is also referred to as “Remember Me” to extends the length of the SSO session beyond the typical configuration. Please see this guide for more details.
Proxy Authentication
Please see this guide for more details.
Multi-factor Authentication (MFA)
Please see this guide for more details.
Login Throttling
CAS provides a facility for limiting failed login attempts to support password guessing and related abuse scenarios. Please see this guide for additional details on login throttling.
SSO Session Cookie
A ticket-granting cookie is an HTTP cookie set by CAS upon the establishment of a single sign-on session. This cookie maintains login state for the client, and while it is valid, the client can present it to CAS in lieu of primary credentials. Please see this guide for additional details.