ScriptedFunction output string to flow
Bickel, David
jdbickel at iu.edu
Fri Feb 12 14:24:29 UTC 2021
Hi Shibboleth Gurus,
I figured I should reach out as opposed to spending too much more time banging into a wall on this question. I need to create a Bean for a custom intercept using the ScriptedFunction that can return a string. I appear though to be running into issues getting it to return a String back when called from the flow. Instead I am getting: “Caused by: org.springframework.expression.spel.SpelEvaluationException: EL1001E: Type conversion problem, cannot convert from net.shibboleth.utilities.java.support.logic.ScriptedFunction<?, ?> to java.lang.String”.
I have tried to convert it by using T(java.lang.String) as well as setting the p:outputType="java.lang.String".
Would any of you have any pointers for getting around this conversion issue?
Thanks,
--David
https://wiki.shibboleth.net/confluence/display/IDP4/ScriptedFunction
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://shibboleth.net/pipermail/users/attachments/20210212/b55dc941/attachment.htm>
-------------- 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/b55dc941/attachment.p7s>
More information about the users
mailing list