Issue porting opensaml 2 to opensaml 3
Eze Ikonne
ike.ikonne at aricent.com
Sun Jan 20 23:51:56 EST 2019
Hi Brent,
Thanks for the prompt respone. Here is the context that I am using the BasicSAMLMessageConext ...
final SAMLMessageContext<SAMLObject, SAMLObject, NameID> context = new BasicSAMLMessageContext<SAMLObject, SAMLObject, NameID>();
context.setInboundSAMLMessage(input);
context.setOutboundSAMLMessage(input);
context.setLocalEntityId("fakeEntityId");
return aBuilder.buildArtifact(context);
Where would I find the resource that would show me how to accomplish the same task under opensaml3? Also, could you point to me where to find the unit test code?
Thanks,
Ike
From: dev [mailto:dev-bounces at shibboleth.net] On Behalf Of Brent Putman
Sent: Saturday, January 19, 2019 4:29 PM
To: dev at shibboleth.net
Subject: Re: Issue porting opensaml 2 to opensaml 3
** This mail has been sent from an external source **
On 1/18/19 7:30 PM, Eze Ikonne wrote:
Hi all,
I am trying to upgrade to opensaml3.4.2 from opensaml 2.XX, but I am having problems resolving these two import statements; I would appreciate it if someone could tell me the opensaml3.4.2 equivalent for these packages.
import org.opensaml.common.binding.BasicSAMLMessageContext;
import org.opensaml.common.binding.SAMLMessageContext;
The messaging processing model changed completely from 2.x to 3.x, so it's not merely a matter of changing import statements. I assume you are probably trying to use the SAML binding encoders and/or decoders. I would suggest simply looking at the unit tests for those encoder/decoder classes to understand the basics of the new message processing model.
=====================================================
Please refer to http://www.aricent.com/email-disclaimer
for important disclosures regarding this electronic communication.
=====================================================
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://shibboleth.net/pipermail/dev/attachments/20190121/8da2a802/attachment.html>
More information about the dev
mailing list