Hi
I have written a custom authentication handler extending
AbstractUsernamePasswordAuthenticationHandler,
which is working very fine.
When authenticating successfully, then I receive a response like
<?xml version="1.0" encoding="UTF-8"?><cas:serviceResponse
xmlns:cas="http://www.yale.edu/tp/cas">
<cas:authenticationSuccess>
<cas:user>[email protected]</cas:user>
Is it possible to also customize this response by adding more
information like for example the firstname and lastname of a user, e.g.
<?xml version="1.0" encoding="UTF-8"?><cas:serviceResponse
xmlns:cas="http://www.yale.edu/tp/cas">
<cas:authenticationSuccess>
<cas:user>[email protected]</cas:user>
<custom:firstname
xmlns:custom="http://www.wyona.com/custom">Alice</custom:firstname>
<custom:lastname
xmlns:custom="http://www.wyona.com/custom">Smith</custom:lastname>
<custom:company
xmlns:custom="http://www.wyona.com/custom">Wyona</custom:company>
?
I am asking because then the CAS implementation of my webapp would not
have to make an additional request to the identity management system in
order to retrieve firstname, lastname, etc. in order to display when
being logged in.
Thanks
Michael
--
You are currently subscribed to [email protected] as:
[email protected]
To unsubscribe, change settings or access archives, see
http://www.ja-sig.org/wiki/display/JSG/cas-user