diff options
author | Thomas Lenz <tlenz@iaik.tugraz.at> | 2016-03-30 08:36:36 +0200 |
---|---|---|
committer | Thomas Lenz <tlenz@iaik.tugraz.at> | 2016-03-30 08:36:36 +0200 |
commit | c33f026d4e41a0d5faa27cd8cc924988343b95fd (patch) | |
tree | 711d994d1cd71d65c05e48ed68c8b46a1fcf11b8 /id/server/idserverlib | |
parent | bd53025fa776091cd82d0fca57a28a5404fb4f37 (diff) | |
download | moa-id-spss-c33f026d4e41a0d5faa27cd8cc924988343b95fd.tar.gz moa-id-spss-c33f026d4e41a0d5faa27cd8cc924988343b95fd.tar.bz2 moa-id-spss-c33f026d4e41a0d5faa27cd8cc924988343b95fd.zip |
add 'ID' attribute to metadata 'entityDescriptor' element
Diffstat (limited to 'id/server/idserverlib')
-rw-r--r-- | id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/protocols/pvp2x/builder/PVPMetadataBuilder.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/protocols/pvp2x/builder/PVPMetadataBuilder.java b/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/protocols/pvp2x/builder/PVPMetadataBuilder.java index 567faf1d8..855925272 100644 --- a/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/protocols/pvp2x/builder/PVPMetadataBuilder.java +++ b/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/protocols/pvp2x/builder/PVPMetadataBuilder.java @@ -184,9 +184,10 @@ public class PVPMetadataBuilder { } else { entityDescriptor.setValidUntil(date.plusHours(config.getMetadataValidUntil())); + entityDescriptor.setID(SAML2Utils.getSecureIdentifier()); entityDescriptor.setSignature(signature); - entityDescriptor.setID(SAML2Utils.getSecureIdentifier()); + //marshall document |