aboutsummaryrefslogtreecommitdiff
path: root/id/server/idserverlib/src/main
diff options
context:
space:
mode:
authorThomas Lenz <tlenz@iaik.tugraz.at>2016-09-15 08:18:42 +0200
committerThomas Lenz <tlenz@iaik.tugraz.at>2016-09-15 08:18:42 +0200
commitc2a94e41e4e0612314c26226a004234d71461362 (patch)
tree07b02f8a2fcae4562519c559251041ff0d3b0f3a /id/server/idserverlib/src/main
parentd5a95646436c3f15d6ab45d0c4e75d091f8ccd87 (diff)
downloadmoa-id-spss-c2a94e41e4e0612314c26226a004234d71461362.tar.gz
moa-id-spss-c2a94e41e4e0612314c26226a004234d71461362.tar.bz2
moa-id-spss-c2a94e41e4e0612314c26226a004234d71461362.zip
Fix bug in PVP2 Error Response (wrong EntityID)
Diffstat (limited to 'id/server/idserverlib/src/main')
-rw-r--r--id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/protocols/pvp2x/PVP2XProtocol.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/protocols/pvp2x/PVP2XProtocol.java b/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/protocols/pvp2x/PVP2XProtocol.java
index bca080ba6..350690f82 100644
--- a/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/protocols/pvp2x/PVP2XProtocol.java
+++ b/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/protocols/pvp2x/PVP2XProtocol.java
@@ -435,7 +435,8 @@ public class PVP2XProtocol extends AbstractAuthProtocolModulController {
samlResponse.setIssueInstant(new DateTime());
Issuer nissuer = SAML2Utils.createSAMLObject(Issuer.class);
- nissuer.setValue(pvpRequest.getAuthURLWithOutSlash());
+ nissuer.setValue(PVPConfiguration.getInstance().getIDPSSOMetadataService(
+ pvpRequest.getAuthURL()));
nissuer.setFormat(NameID.ENTITY);
samlResponse.setIssuer(nissuer);