The system used in Técnico is based on the Centralized Authentication System, or CAS, from Yale University. CAS is an enterprise-class single-sign-on (SSO) authentication solution for web services, including websites and web applications.
This system allows the use of multiple communication channels of the same platform that use different authentication mechanisms and that wish to use the same authorative source of trust, in which the user authenticates univocally, not having to repeat the process for each specific channel or service on the same platform.
There are several solutions to allow the use and access to web services written in different languages or certain frameworks that use CAS, which translates into a rapid implementation of specific SSO solutions by programmers. These reasons led to adoption and support of this system in Técnico’s infrastructure.
Use of the CAS system is only allowed to previously authorized servers.
Applications for authorization should be sent to email@example.com with the following data:
- Service name, which will appear on the central logout page
- Login URL, ie the url that will be sent to the CAS server in the “service” parameter
- Logout URL, the url that is called to invalidate the application session. This url should only destroy the session and should not call the CAS library logout function.
The CAS system allows any server in the tecnico.ulisboa.pt domain to authenticate Técnico’s users without knowing or having to directly request the access credentials (which would translate into a security breach).
Briefly, the mechanism works as follows:
- There is a central authentication machine at the address id.tecnico.ulisboa.pt, where security policies are defined and that ensures the integrity of access credentials, to which all authentication requests are redirected.
- The same central machine, in case of authentication is successful, provides the browser with an authentication ticket for the session.
- Finally, this ticket has a time validity during which it guarantees the authenticity of the access, allowing access to the authentication service without the need to circulate the authentication credentials by servers external to the SI.
It is suggested to consult specific information on the CAS project: