diff options
author | Thomas Lenz <tlenz@iaik.tugraz.at> | 2016-03-29 14:04:59 +0200 |
---|---|---|
committer | Thomas Lenz <tlenz@iaik.tugraz.at> | 2016-03-29 14:04:59 +0200 |
commit | d945e481a418fcfedba616915cc77eb45ae62827 (patch) | |
tree | 9a10339194b27906f4ac1b7367b019db236be4b0 /id/server/idserverlib/src | |
parent | 5848cd0057ad9f607e8c117c18481f5caebfd357 (diff) | |
download | moa-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')
-rw-r--r-- | id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/protocols/pvp2x/builder/PVPMetadataBuilder.java | 2 |
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() |