Sample CAS 2 Successful Ticket Validation Response (formatted for legibility)[1]:
<cas:serviceResponse xmlns:cas='http://www.yale.edu/tp/cas'> [2]
<cas:authenticationSuccess> [3]
<cas:user>de3</cas:user> [4]
</cas:authenticationSuccess>
</cas:serviceResponse>
Sample CAS 2 Unsuccessful Ticket Validation Response (formatted for legibility)[1]:
<cas:serviceResponse xmlns:cas='http://www.yale.edu/tp/cas'> [2]
<cas:authenticationFailure code="INVALID_TICKET">
Ticket 'ST-1402-0RwQL4YfoydrrJwiI80WitPnFiccasdevapp01' not recognized
</cas:authenticationFailure>
</cas:serviceResponse>
Notes:
1. Available via:
https://[cas-hostname]/cas/serviceValidate?service=[service-URL]&ticket=[service-ticket]
2. A ticket validation response consists of a <serviceResponse> element which contains either an <authenticationSuccess> element or an <authenticationFailure> element.
<cas:serviceResponse xmlns:cas='http://www.yale.edu/tp/cas'>
3. The <authenticationSuccess> element contains a single <user> element and indicates that the user has successfully logged in:
<cas:authenticationSuccess>
4. The <user> element contains the UNI:
<cas:user>de3</cas:user>
5. No additional attributes are available.