service dependent xml response

Scott Battaglia scott.battaglia at gmail.com
Thu May 8 11:15:50 EDT 2008


Robert,

If you use the services management tool to control which service sees which
attributes, the CentralAuthenticationService class automatically scopes the
available attributes passed to the casServiceValidationSuccess.jsp to only
the ones that service can see.

-Scott

On Mon, May 5, 2008 at 5:55 PM, Robert Lewis <r.lewis at tamu.edu> wrote:

> Hi,
>
> Using cas3.2.1, I need to be able to control the attributes released to
> a service in the xml response. On 24 Apr 2008, there was a related post,
> "Re: Service dependent CredentialsToPrincipalResolver." That person
> wanted to control the login username in the response, depending on the
> service, and he was advised to customize ServiceValidateController. I
> want even more, I want to use a customized
> casServiceValidationSuccess.jsp depending on the service. The number of
> attributes returned, and which attributes would vary. I don't see how to
> do it. I have configured the ldap handler so that the search returns all
> the attributes I might need and these are put in a map held by the
> principal. Now I need to be able to pick the attributes from the
> principal for return in casServiceValidationSuccess.jsp. How would I do
> that?
>
> Thanks,
>
> Robert Lewis
> _______________________________________________
> Yale CAS mailing list
> cas at tp.its.yale.edu
> http://tp.its.yale.edu/mailman/listinfo/cas
>



-- 
-Scott Battaglia
PGP Public Key Id: 0x383733AA
LinkedIn: http://www.linkedin.com/in/scottbattaglia
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://tp.its.yale.edu/pipermail/cas/attachments/20080508/4b059574/attachment.html 


More information about the cas mailing list