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 request here under request Type Choose ” Make changes to an existing application/SP”
- 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.