From c2a94e41e4e0612314c26226a004234d71461362 Mon Sep 17 00:00:00 2001 From: Thomas Lenz Date: Thu, 15 Sep 2016 08:18:42 +0200 Subject: Fix bug in PVP2 Error Response (wrong EntityID) --- .../java/at/gv/egovernment/moa/id/protocols/pvp2x/PVP2XProtocol.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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); -- cgit v1.2.3