Announcement Announcement Module
Collapse
No announcement yet.
EntityDescriptor.getDOM is null when metadata is NOT signed Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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.

  • #2
    Sorry for your hunting pain. How unfair this only took a few minutes to fix In the current trunk DOM will now be generated also in case when signing is disabled.

    Vladi

    Comment

    Working...
    X