Following is a response to my GET request "http://localhost:8080/cas/p3/serviceValidate?service=http://localhost:8080/cas/v1/tickets/TGT-1-BzIAvxpfhaxZ1lHkkzWDXxpnTCweeollK7tnMR5OKXsE6Akfnw-cas01.example.org&ticket=ST-1-eNUEfrlGTcbOrukHewtR-cas01.example.org"
Response
<cas:serviceResponse
xmlns:cas='http://www.yale.edu/tp/cas'>
<cas:authenticationSuccess>
<cas:user>casuser</cas:user>
</cas:authenticationSuccess>
</cas:serviceResponse>
How can we return additional parameters or user attributes in GET response to look something like following ?
Expected
<cas:serviceResponse
xmlns:cas='http://www.yale.edu/tp/cas'>
<cas:authenticationSuccess>
<cas:user>casuser</cas:user>
<cas:email>[email protected]<cas:email>
<cas:firstname>First name<firstname>
<cas:lastname>Lastname<cas:lastname>
</cas:authenticationSuccess>
</cas:serviceResponse>
CAS version 4.0.0