|
@@ -126,7 +126,7 @@ public final class OpenSamlLogoutRequestValidator implements Saml2LogoutRequestV
|
|
RelyingPartyRegistration registration) {
|
|
RelyingPartyRegistration registration) {
|
|
return (errors) -> {
|
|
return (errors) -> {
|
|
if (request.getIssuer() == null) {
|
|
if (request.getIssuer() == null) {
|
|
- errors.add(new Saml2Error(Saml2ErrorCodes.INVALID_ISSUER, "Failed to find issuer in LogoutResponse"));
|
|
|
|
|
|
+ errors.add(new Saml2Error(Saml2ErrorCodes.INVALID_ISSUER, "Failed to find issuer in LogoutRequest"));
|
|
return;
|
|
return;
|
|
}
|
|
}
|
|
String issuer = request.getIssuer().getValue();
|
|
String issuer = request.getIssuer().getValue();
|
|
@@ -142,7 +142,7 @@ public final class OpenSamlLogoutRequestValidator implements Saml2LogoutRequestV
|
|
return (errors) -> {
|
|
return (errors) -> {
|
|
if (request.getDestination() == null) {
|
|
if (request.getDestination() == null) {
|
|
errors.add(new Saml2Error(Saml2ErrorCodes.INVALID_DESTINATION,
|
|
errors.add(new Saml2Error(Saml2ErrorCodes.INVALID_DESTINATION,
|
|
- "Failed to find destination in LogoutResponse"));
|
|
|
|
|
|
+ "Failed to find destination in LogoutRequest"));
|
|
return;
|
|
return;
|
|
}
|
|
}
|
|
String destination = request.getDestination();
|
|
String destination = request.getDestination();
|