Warning Intercept - User Info in View
Check
mrcheck at gmail.com
Thu Dec 26 22:01:14 UTC 2024
Got it! This shows me the principalName of the person authenticating:
$profileRequestContext.getSubcontext("net.shibboleth.idp.authn.context.subjectContext").principalName
I should be good to go from here.
Thanks!
Robert "Check" Adamczyk
On Thu, Dec 26, 2024 at 4:46 PM Check <mrcheck at gmail.com> wrote:
> Thanks! I was looking at that page earlier.
>
> I can get to the Profile Request Context using $profileRequestContext and
> can see the different fields (as shown from right clicking the link in the
> diagrams) using this syntax: $profileRequestContext.fieldName
>
> What I'm missing is the secret sauce to get from $profileRequestContext to
> Subject Context. Possibly some form of
> $profileRequestContext.getSubContext(something)?
>
> It's probably something easy, but so is picking the right number between 1
> and 1000 if you already know the right answer. :)
>
> Any nudges in the right direction would be greatly appreciated.
>
> Thanks!
>
> Robert "Check" Adamczyk
>
>
> On Thu, Dec 26, 2024 at 3:46 PM Cantor, Scott <cantor.2 at osu.edu> wrote:
>
>> The only documentation that exists about any of this is very old and not
>> that detailed.
>>
>>
>> https://shibboleth.atlassian.net/wiki/spaces/IDP5/pages/3199511979/ProfileHandling
>>
>> Post-Authentication Intercept Contract covers the main elements, that's
>> what the warning feature is.
>>
>> The SVG plugin doesn't allow for links in the cloud, right clicking and
>> opening the links in the boxes in the diagram works.
>>
>> The Hello World view uses the same contexts, just has predefined
>> variables defined for some of them, which we could probably add to that
>> view for convenience.
>>
>> -- Scott
>>
>>
>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://shibboleth.net/pipermail/users/attachments/20241226/3a89abca/attachment.htm>
More information about the users
mailing list