User attribute via HttpClient, needs userId in header

Pablo Vidaurri psvidaurri at gmail.com
Fri May 24 04:53:20 UTC 2024


Sorry, RFE?? Is there a handy example available?

Thanks.
-psv

On Tue, May 21, 2024, 7:10 AM Cantor, Scott <cantor.2 at osu.edu> wrote:

> > Is it possible to define a new bean and pass the userId in the
> > constructor with haederMapRef such as: myCustomBean("123XYZ")?
>
> Is it possible to get Spring to create something on the fly that would be
> possible to parametrize at runtime? Almost certainly, but I don't know
> exactly how. Some mixture of a prototype bean and Spring expressions might
> manage it I guess.
>
> In the longer term a RFE to simply make the header hook dynamic based on a
> Function is probably what's required.
>
> -- Scott
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://shibboleth.net/pipermail/users/attachments/20240523/f974f47b/attachment.htm>


More information about the users mailing list