aboutsummaryrefslogtreecommitdiff
path: root/id/server/idserverlib/src/main/java
diff options
context:
space:
mode:
authorThomas Lenz <tlenz@iaik.tugraz.at>2016-03-30 08:36:36 +0200
committerThomas Lenz <tlenz@iaik.tugraz.at>2016-03-30 08:36:36 +0200
commitc33f026d4e41a0d5faa27cd8cc924988343b95fd (patch)
tree711d994d1cd71d65c05e48ed68c8b46a1fcf11b8 /id/server/idserverlib/src/main/java
parentbd53025fa776091cd82d0fca57a28a5404fb4f37 (diff)
downloadmoa-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/src/main/java')
-rw-r--r--id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/protocols/pvp2x/builder/PVPMetadataBuilder.java3
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