Path issues when loading a resourceScript for an MFA transition bean

Cantor, Scott cantor.2 at osu.edu
Fri Mar 19 13:44:50 UTC 2021


Since I may not have a chance to check this today, going from memory in other cases, I think what you're hitting is an issue with Spring's String to Resource conversion. I believe you can avoid the relative path if you care by defining a bean explicitly for the Resource object (i.e. a file system resource, I don't know the class from memory) and putting the absolute path into its bean constructor, and then supplying that Resource bean to the script object.

-- Scott

On 3/19/21, 8:57 AM, "Cantor, Scott" <cantor.2 at osu.edu> wrote:

    On 3/19/21, 8:00 AM, "users on behalf of Max Spicer via users" <users-bounces at shibboleth.net on behalf of users at shibboleth.net> wrote:

    >    Is this expected behaviour? Or a bug?

    I don't think either, given my experience, but I will check this against 4.1 and see what it does. Since all of the resource loading code is completely changed in 4.1 it doesn't much matter what 4.0 is doing.

    -- Scott





More information about the users mailing list