Merge pull request #4467 from siepkes/master
KEYCLOAK-5446 Clarify request URI mismatch error message in SAML adapter.
This commit is contained in:
commit
feeac52621
1 changed files with 1 additions and 1 deletions
|
@ -187,7 +187,7 @@ public abstract class AbstractSamlAuthenticationHandler implements SamlAuthentic
|
||||||
final StatusResponseType statusResponse = (StatusResponseType) holder.getSamlObject();
|
final StatusResponseType statusResponse = (StatusResponseType) holder.getSamlObject();
|
||||||
// validate destination
|
// validate destination
|
||||||
if (!requestUri.equals(statusResponse.getDestination())) {
|
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;
|
return AuthOutcome.FAILED;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue