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)
btw: I bought your book! Very well put written and helpful!
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)
btw: I bought your book! Very well put written and helpful!