ProfileRequestContext accessibility outside flow actions

Marvin Addison marvin.addison at gmail.com
Thu Aug 13 16:21:56 EDT 2015


>
> One possible issue that I can think of is the danger of circular
> references, which would inhibit garbage collection, I think.
>

I believe using WeakReference<ProfileRequestContext> would address that
concern specifically:

request.setAttribute(ProfileRequestContext.BINDING_KEY, new
WeakReference(prc));

But point taken generally about unintended consequences.

M
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://shibboleth.net/pipermail/dev/attachments/20150813/e927cd3e/attachment.html>


More information about the dev mailing list