« Return to Thread: service dependent xml response

Re: service dependent xml response

by scott_battaglia :: Rate this Message:

Reply to Author | View in Thread

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@...> 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@...
http://tp.its.yale.edu/mailman/listinfo/cas



--
-Scott Battaglia
PGP Public Key Id: 0x383733AA
LinkedIn: http://www.linkedin.com/in/scottbattaglia
_______________________________________________
Yale CAS mailing list
cas@...
http://tp.its.yale.edu/mailman/listinfo/cas

 « Return to Thread: service dependent xml response

LightInTheBox - Buy quality products at wholesale price