[cas-dev] Extend response Parameters from Cas-Server
Scott Battaglia
scott.battaglia at gmail.com
Thu Jun 21 07:41:51 EDT 2007
Yes, sorry. You would need a custom CredentialsToPrincipalResolver that
returns a Principal with more than just the ID (it would need your
additional attributes). That principal with its attributes would be
available in your JSP page.
-Scott
On 6/21/07, Meik Suchlich <meik.suchlich at brand-ad.de> wrote:
>
> Ok, but the jsp reads from the assertion and the principal.
>
> I think I have to extend one of these objects to put my parameter in it.
> Am I right?
>
> I get the Parameter in my passwordhandler.
>
> I changed the AuthenticationManagerImpl, so that the Parameter is present
> there.
>
> I'm using cas-server-3.0.5.
>
>
>
> Thanks!
>
>
>
> Meik
> ------------------------------
>
> *Von:* cas-dev-bounces at tp.its.yale.edu [mailto:
> cas-dev-bounces at tp.its.yale.edu] *Im Auftrag von *Scott Battaglia
> *Gesendet:* Mittwoch, 20. Juni 2007 19:33
> *An:* Mailing list for CAS developers
> *Betreff:* Re: [cas-dev] Extend response Parameters from Cas-Server
>
>
>
> You'd have to modify the JSP page that generates the 2.0 response (it
> should be under WEB-INF/views/jsp/protocol/2.0). Your client would then
> have to be able to parse the additional content.
>
> -Scott
>
> On 6/20/07, *Meik Suchlich* <meik.suchlich at brand-ad.de> wrote:
>
> Hi all,
>
> I need to extend the Parameters CAS writes into the response.
>
> "edu.yale.its.tp.cas.client.filter.user" is not enough.
> How can I put another parameter to the response?
> The client needs it.
>
> Thanks a lot!
>
> Greetings
>
> Meik
>
>
>
> _______________________________________________
> cas-dev mailing list
> cas-dev at tp.its.yale.edu
> http://tp.its.yale.edu/mailman/listinfo/cas-dev
>
>
>
>
> --
> -Scott Battaglia
>
> LinkedIn: http://www.linkedin.com/in/scottbattaglia
>
> _______________________________________________
> cas-dev mailing list
> cas-dev at tp.its.yale.edu
> http://tp.its.yale.edu/mailman/listinfo/cas-dev
>
>
--
-Scott Battaglia
LinkedIn: http://www.linkedin.com/in/scottbattaglia
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://tp.its.yale.edu/pipermail/cas-dev/attachments/20070621/79bdaf19/attachment.html
More information about the cas-dev
mailing list