IdP Consent: Different storage key bases for "Terms of Use" and "Attribute Release" consent flows
Daniel Lutz
daniel.lutz at switch.ch
Thu Sep 14 11:58:33 EDT 2017
Thanks a lot, Tom and Scott, for your quick replies yesterday.
Cantor, Scott [13.09.17 19:15]:
> However, I believe the bean is a Function<ProfileRequestContext> ? I suspect with enough screwing
> around you could build a Function that returned a different value based on which interceptor was running.
Thank you for this hint. Indeed, this works. Yes, the bean is a Function<ProfileRequestContext, String>.
I've implemented such a function, which returns a value depending on the active flow.
This solution works works for us.
> With a system change it's a simple matter to add the additional property and back off to
> the old one, but I don't think there's any real way otherwise.
At least for us, it's not required anymore to add an additional property. If you think
there are further use cases for this, you may consider adding such an additional property.
- Daniel
More information about the dev
mailing list