Results 1 to 2 of 2

Thread: EntityDescriptor.getDOM is null when metadata is NOT signed

  1. #1
    Join Date
    Jan 2013
    Posts
    7

    Default 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. #2
    Join Date
    Feb 2009
    Location
    Helsinki
    Posts
    152

    Default

    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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •