Issue porting opensaml 2 to opensaml 3

Brent Putman putmanb at georgetown.edu
Mon Jan 21 17:16:29 EST 2019


On 1/20/19 11:51 PM, Eze Ikonne wrote:
>
> 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);
>

Ok, that's issuance of a SAML artifact. I think that also changed a bit
from v2 to v3, primarily just because of the message processing changes.


>  
>
> 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?
>
>  
>
>

I'd suggest looking at the unit tests for the related artifact
components.  The changes for the above artifact builder usage probably
aren't that substantial.

Per Maven conventions, the unit tests are located under src/test in
each project, or each module in the case of the multi-module projects
(which are the main ones you want: java-opensaml and
java-identity-provider).

Info on source code access is here:
https://wiki.shibboleth.net/confluence/display/DEV/Source+Code+Access


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://shibboleth.net/pipermail/dev/attachments/20190121/df7238ea/attachment.html>


More information about the dev mailing list