reta commented on code in PR #3281:
URL: https://github.com/apache/cxf/pull/3281#discussion_r3525565637


##########
rt/rs/security/sso/saml/src/main/java/org/apache/cxf/rs/security/saml/sso/SAMLSSOResponseValidator.java:
##########
@@ -169,8 +169,8 @@ private void 
validateIssuer(org.opensaml.saml.saml2.core.Issuer issuer) throws W
             return;
         }
 
-        // Issuer value must match (be contained in) Issuer IDP
-        if (enforceKnownIssuer && (issuer.getValue() == null || 
!issuerIDP.startsWith(issuer.getValue()))) {
+        // Issuer value must match the configured Issuer IDP
+        if (enforceKnownIssuer && !issuerIDP.equals(issuer.getValue())) {

Review Comment:
   @coheigea could you please take a look? I believe you have changed exact 
much to prefix here [1], thank you
   
   [1] 
https://github.com/apache/cxf/commit/9253b78fb7280439dd4e5d44f798566055d7a192



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to