getRelayState for scripted attribute definition

Abromowitz, Samuel s.abromowitz at neu.edu
Fri Apr 3 15:30:38 EDT 2015


I am able to get the relay state with the workaround.

profileContext = resolutionContext.getParent();
clazloader = profileContext.getClass().getClassLoader();
bindingContextClass = clazloader.loadClass("org.opensaml.saml.common.messaging.context.SAMLBindingContext");
relayState = profileContext.getInboundMessageContext().getSubcontext(bindingContextClass).getRelayState();


Thanks

Sam Abromowitz
Sr Identity Services Specialist, Information Technology Services
Northeastern University
360 Huntington Avenue, 231-177 ; Boston, MA 02115
O: 617.373.4545

-----Original Message-----
From: users-bounces at shibboleth.net [mailto:users-bounces at shibboleth.net] On Behalf Of Cantor, Scott
Sent: Friday, April 3, 2015 3:13 PM
To: Shib Users
Subject: Re: getRelayState for scripted attribute definition

On 4/3/15, 2:59 PM, "Cantor, Scott" <cantor.2 at osu.edu> wrote:
>
>I'm not sure it's possible to fix this in the configuration, I don't know if the right field is settable to override how it's looking up the PRC object internally to set it into the script environment.

Filed [1].

Confirmed it's not something that can be fixed with any kind of config trick, it's just an internal bug at this stage. The workaround I suggested should suffice for now.

-- Scott

[1] https://issues.shibboleth.net/jira/browse/IDP-682

-- 
To unsubscribe from this list send an email to users-unsubscribe at shibboleth.net


More information about the users mailing list