I have already done something like this but what I observed is that I breaked the xml schema related to the 'http://www.yale.edu/tp/cas' namespace. I made changes to the following files on the server side( that I remember ) :
- UsernamePasswordCredentials (subclass) - CredentialsBinder (implement) - SimplePrincipal (subclass) - CredentialsToPrincipalResolver (implement) - CasServlet.xml (changes to authenticationViaFormAction) - casServiceValidationSuccess.jsp (add new parameters) May be for the xml community is necessary to create an extending point to the related W3CSchema for the response's xml format. Best, Indrit "Stephen A. Cochran" <[EMAIL PROTECTED]> ha scritto: On Feb 2, 2007, at 5:34 PM, t ray wrote: > Is it possible (and advisable) to return than just the username > after successful login? I would like to be able to return a small > amount of user data apart from the name such that this extra > information is also available along with the user name. Dartmouth has extended the standard CAS 2.0 XML response to include some non-standard attributes. This involves extending some of the classes in the server, as well as updating the clients to present these new fields to users. The archives of this mailing list should contain a fairly detailed description of the design we chose. Steve Cochran Dartmouth College _______________________________________________ Yale CAS mailing list [email protected] http://tp.its.yale.edu/mailman/listinfo/cas --------------------------------- Vinci i biglietti per FIFA World Cup in Germania!
cas.xsd
Description: 841883074-cas.xsd
_______________________________________________ Yale CAS mailing list [email protected] http://tp.its.yale.edu/mailman/listinfo/cas
