Customizing CAS SSO#

The Allegra CAS SSO server can be widely customized. There are two approaches you can take:

  • Lightweight customization via css and HTML templates in place

  • Full customization via a war file rebuild

Lightweight Customization#

You can modify the appearance of the SSO system changing the files in

webapps/<context name>/WEB-INF/classes/templates/fragments

and the style sheet in

webapps/<context name>/WEB-INF/classes/static/css/cas.

The disadvantage of this approach is that your changes will be overwritten with a new deployment of the application. We recommend using diff and patch on Unix based systems to automate the patch process.

Full Customization#

You can configure the entire application behaviour using the CAS overlay technique. It is beyond the scope of this manual to describe this procedure here.