How to get RelayState in login.vm
Cantor, Scott
cantor.2 at osu.edu
Mon Feb 1 13:09:22 UTC 2021
On 2/1/21, 2:56 AM, "users on behalf of Noriyuki TAKEI" <users-bounces at shibboleth.net on behalf of ntakei at sios.com> wrote:
> I'd like to get RelayState in login.vm in Shibboleth Idp v3.
That's a misuse of RelayState, it's opaque to anything at the IdP end.
The routine to do it is org.opensaml.saml.common.binding.SAMLBindingSupport.getRelayState(MessageContext) run against the inbound message context on the ProfileRequestContext. The only way to get that to run in a view is to inject SAMLBindingSupport as a custom view object.
-- Scott
More information about the users
mailing list