IdP v3 login.vm accessing RealyState?

Cantor, Scott cantor.2 at osu.edu
Tue Aug 23 09:51:56 EDT 2016


On 8/22/16 11:13 PM, Michael A Grady wrote:
> If you needed to look at the value of RelayState, for the request that
> kicked off the login flow, within the Idp's login page (assuming you knew
> there would be one with a URL value), could that be retrieved with the
> following?:
> 
> $relayState = $profileRequestContext.getSubcontext(
> 'org.opensaml.saml.common.messaging.context.SAMLBindingContext'
>).getRelayState()

I believe that subcontext would be underneath the inbound message
context (dedicated member of the PRC), but I'm going from memory.

-- Scott


More information about the users mailing list