Order of events after a proxied authentication

Wessel, Keith kwessel at illinois.edu
Tue Sep 6 19:19:19 UTC 2022


Not sure where I got the idea that a singleton list had to be returned. Thanks, Scott. Initial testing after a small tweak to the translation strategy bean seems to indicate that this did the trick. I'm just checking for password from Azure and, if I see it, returning a pre-built list from my helper map that contains both password and PPT.

Keith


-----Original Message-----
From: Cantor, Scott <cantor.2 at osu.edu> 
Sent: Tuesday, September 6, 2022 11:29 AM
To: Wessel, Keith <kwessel at illinois.edu>; Shib Users <users at shibboleth.net>
Subject: Re: Order of events after a proxied authentication

(Technically the return type is Collection<>, not List, so Set is also fine, etc.)

-- Scott

On 9/6/22, 12:15 PM, "Cantor, Scott" <cantor.2 at osu.edu> wrote:

    On 9/6/22, 11:59 AM, "Wessel, Keith" <kwessel at illinois.edu> wrote:

    >    One question, though. You say I can return both password and PPT. My 
    > understanding is that the translation strategy has to return a singleton list. 

    The function return type is List, if it was limited to one element the return type would be that element type rather than List.

    Modern Java allows multiple elements to be returned in a List via List.of().

    -- Scott







More information about the users mailing list