aboutsummaryrefslogtreecommitdiff
path: root/id/server/idserverlib/src/main/java
diff options
context:
space:
mode:
authorThomas Lenz <tlenz@iaik.tugraz.at>2016-03-29 14:04:59 +0200
committerThomas Lenz <tlenz@iaik.tugraz.at>2016-03-29 14:04:59 +0200
commitd945e481a418fcfedba616915cc77eb45ae62827 (patch)
tree9a10339194b27906f4ac1b7367b019db236be4b0 /id/server/idserverlib/src/main/java
parent5848cd0057ad9f607e8c117c18481f5caebfd357 (diff)
downloadmoa-id-spss-d945e481a418fcfedba616915cc77eb45ae62827.tar.gz
moa-id-spss-d945e481a418fcfedba616915cc77eb45ae62827.tar.bz2
moa-id-spss-d945e481a418fcfedba616915cc77eb45ae62827.zip
fix missing ID in SP metadata
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.java2
1 files changed, 2 insertions, 0 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 ab96e4df7..567faf1d8 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
@@ -186,6 +186,8 @@ public class PVPMetadataBuilder {
entityDescriptor.setValidUntil(date.plusHours(config.getMetadataValidUntil()));
entityDescriptor.setSignature(signature);
+ entityDescriptor.setID(SAML2Utils.getSecureIdentifier());
+
//marshall document
Marshaller out = Configuration.getMarshallerFactory()