Adding rpUIContext (and later a username) to error.vm

Cantor, Scott cantor.2 at osu.edu
Mon Feb 27 09:34:05 EST 2017


> Grepping around, I saw in logout.vm something that set rpUIContext, so
> tried this:
> 
>     #set ($rpUIContext =
> $rpContext.getSubcontext("net.shibboleth.idp.ui.context.RelyingPartyUIContext"))

Every flow has different conventions for where things show up, it's situational, and largely undocumented. The UI context is underneath the AuthenticationContext in the SSO flows (PRC -> AuthenticationContext 
->RelyingPartyUIContext), so you're just looking in the wrong place.

> Grepping further, I’m thinking that I’m on the right path, but wondering if I
> need to add something to my –flow.xml file, like what I see in the terms-of-
> use context-check.

No.
 
-- Scott




More information about the users mailing list