webprofile-ref-project
webprofile-ref-project copied to clipboard
A example project to demonstrate implementing SAML Web browser SSO profile using OpenSAML V2
Please let me know if I should raise the pull request to actually migrate to 3.4.5
Sample code: String responseStr = "largeB64EndodedStrhere"; Base64 decoder = new Base64(); byte[] thebytes = decoder.decode(responseStr); logger.info(new String(thebytes)); Artifact artifact = OpenSAMLUtils.buildSAMLObject(Artifact.class); Exception in thread "main" java.lang.NullPointerException at no.steras.opensamlbook.OpenSAMLUtils.buildSAMLObject(OpenSAMLUtils.java:48) at no.steras.opensamlbook.sp.ConsumerServlet.main(ConsumerServlet.java:262)...