[External] Re: ScriptedFunction output string to flow

Bickel, David jdbickel at iu.edu
Fri Feb 12 17:31:27 UTC 2021


Hi Scott,

Thanks for your feedback.  

So the issue I am trying to address is that in my custom-intercept-flow/bean.xml needs to calculate a value for externalRedirect.  My calculation needs to 
1) check what type of authentication is occurring CAS or SAML
2) build arguments to send to the external endpoint which include urlencoded IDP url, as well as urlencoded RP

I have tried many things in the flow but I am needing something like below:
<view-state id="sendToEndpoint" view="externalRedirect:#{flowRequestContext.getActiveFlow().getApplicationContext().getBean('endpoint.calcvalue')}>
</view-state>

Would you have any recommendations on how best to accomplish the calculations needed and pass them to external endpoint?

Many Thanks,
--David

On 2/12/21, 10:10 AM, "users on behalf of Cantor, Scott" <users-bounces at shibboleth.net on behalf of cantor.2 at osu.edu> wrote:

    This message was sent from a non-IU address. Please exercise caution when clicking links or opening attachments from external sources.
    -------

    You're trying to install a Function bean into a property of an object that requires a string, there's nothing that's going to make that work. Something that allows for a function will be typed that way and expect one.

    -- Scott


    -- 
    For Consortium Member technical support, see https://wiki.shibboleth.net/confluence/x/coFAAg
    To unsubscribe from this list send an email to users-unsubscribe at shibboleth.net

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5196 bytes
Desc: not available
URL: <http://shibboleth.net/pipermail/users/attachments/20210212/d1d99dfb/attachment.p7s>


More information about the users mailing list