How to return more than username after authentication?
indrit Lavoro
indritselimilavoro at yahoo.it
Wed Feb 7 06:01:21 EST 2007
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" <stephen.a.cochran at dartmouth.edu> 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
cas at tp.its.yale.edu
http://tp.its.yale.edu/mailman/listinfo/cas
---------------------------------
Vinci i biglietti per FIFA World Cup in Germania!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://tp.its.yale.edu/pipermail/cas/attachments/20070207/b2d67a06/attachment.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cas.xsd
Type: application/octet-stream
Size: 4258 bytes
Desc: 841883074-cas.xsd
Url : http://tp.its.yale.edu/pipermail/cas/attachments/20070207/b2d67a06/attachment.obj
More information about the cas
mailing list