Disclamer: This is fine when it works and it difficult to debug when it doesn't work. It probably does not work after JBoss EAP 6 and there is no plan at Yale to update it. New users are discouraged from using thisIf you are looking at this page for advice, you are in trouble. The CAS integration with JBoss does not work on any modern version of JBoss or any modern version of Java, and besides Yale is migrating its applications to Tomcat. If you are having a problem with this component, there is nobody who can help you and no way to fix it. Rip out any code that depends on the old JBoss container based authentication and replace it with a vanilla CAS Client (Servlet Filter) from Apereo.
Summary
This page will explain how to make a jboss container provide CAS authentication at a container level. This client uses a Catalina Valve which makes some intelligent decisions based on the cas context config. The CAS Context is the configuration of the CAS client for the container. This context is used for both the Valve on the front end, as well as the JAAS login modules on the authentication actions made by the container.
...