To retrieve the value of CAS attributes released to your service, you will need to use Saml11AuthenticationFilter for authentication and Saml11TicketValidationFilter for validation.
The link for Java CAS client example provided by jasig can be found here . There are some updates needed which are provided below.
- To request attributes to be released, please create an HDRT ticket here under request category “CAS” and request type “Additional Attribute Release”
- The following jar files are needed for SAML authentication and validation. The versions and combination of jars could change based on your application jars:
- Change CAS authentication filter and validation filter as shown in the web.xml sample provided as attachement.
- Use the snippet of code attached to retrieve the attributes and their values.