EntityDescriptor.getDOM is null when metadata is NOT signed
This one took a few hours to figure out....
I'm using a very recent build of spring saml. I needed to turn off signing of our metadata, but when I did it, I was getting null back from EntityDescriptor.getDOM()
The reason is because the marshaller isn't called on metadata UNLESS the metadata is signed. I got around it by just calling the marshaller myself.
I'm not sure if this is a bug, but it certainly a consistency problem. After calling generateMetadata I should get an object with a DOM whether or not it's signed.