From 8cfbb8d0b3af439f5ec105f6405b0c0e5bb3a162 Mon Sep 17 00:00:00 2001 From: Thomas Darimont Date: Sat, 11 Nov 2017 21:02:06 +0100 Subject: [PATCH] KEYCLOAK-5837 Remove duplicate check in SAML11AuthenticationQueryType The same check is applied in line 83. --- .../processing/core/saml/v1/writers/SAML11RequestWriter.java | 3 --- 1 file changed, 3 deletions(-) diff --git a/saml-core/src/main/java/org/keycloak/saml/processing/core/saml/v1/writers/SAML11RequestWriter.java b/saml-core/src/main/java/org/keycloak/saml/processing/core/saml/v1/writers/SAML11RequestWriter.java index 4e8a1d1a40..80f4e375b4 100755 --- a/saml-core/src/main/java/org/keycloak/saml/processing/core/saml/v1/writers/SAML11RequestWriter.java +++ b/saml-core/src/main/java/org/keycloak/saml/processing/core/saml/v1/writers/SAML11RequestWriter.java @@ -86,9 +86,6 @@ public class SAML11RequestWriter extends BaseSAML11Writer { } else if (query instanceof SAML11AttributeQueryType) { SAML11AttributeQueryType attQuery = (SAML11AttributeQueryType) query; write(attQuery); - } else if (query instanceof SAML11AuthenticationQueryType) { - SAML11AuthenticationQueryType attQuery = (SAML11AuthenticationQueryType) query; - write(attQuery); } else if (query instanceof SAML11AuthorizationDecisionQueryType) { SAML11AuthorizationDecisionQueryType attQuery = (SAML11AuthorizationDecisionQueryType) query; write(attQuery);