OpenSAML3 - Unable to parse saml response inside of AWS Lambda

Marc Boorshtein mboorshtein at gmail.com
Wed Mar 29 14:53:34 EDT 2017


I've got an odd problem I'm wondering if anyone has seen or might have some
thoughts on.  I'm building an STS running on the AWS API Gateway that I
want to parse and verify a SAML2 response.  I'm using OpenSAML 3 since I'm
already very use to it.  When I run my code locally on my mac running Java
1.8 it works great, but when I deploy to Lambda I get a null pointer
exception when running:

XMLObjectSupport.getUnmarshaller(root).unmarshall(root)

I have tried both running InitializationService.initialize(); statically
AND immediately before the above method is run, I see the initialization
and I don't see any errors but getUnmarshaller is returning null.
According to amazon there are no endorsed packages.

Does this symptom set off any flags?

Thanks
Marc
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://shibboleth.net/pipermail/dev/attachments/20170329/c6a63852/attachment.html>


More information about the dev mailing list