Merge pull request #4467 from siepkes/master

KEYCLOAK-5446 Clarify request URI mismatch error message in SAML adapter.
This commit is contained in:
Bill Burke 2017-09-11 18:48:14 -04:00 committed by GitHub
commit feeac52621

View file

@ -187,7 +187,7 @@ public abstract class AbstractSamlAuthenticationHandler implements SamlAuthentic
final StatusResponseType statusResponse = (StatusResponseType) holder.getSamlObject();
// validate destination
if (!requestUri.equals(statusResponse.getDestination())) {
log.error("Request URI does not match SAML request destination");
log.error("Request URI '" + requestUri + "' does not match SAML request destination '" + statusResponse.getDestination() + "'");
return AuthOutcome.FAILED;
}