@ -161,25 +161,30 @@ public final class OpenSamlLogoutRequestValidator implements Saml2LogoutRequestV
@@ -161,25 +161,30 @@ public final class OpenSamlLogoutRequestValidator implements Saml2LogoutRequestV
if(authentication==null){
return;
}
NameIDnameId=request.getNameID();
EncryptedIDencryptedID=request.getEncryptedID();
if(nameId==null&&encryptedID==null){
NameIDnameId=getNameId(request,registration);
if(nameId==null){
errors.add(
newSaml2Error(Saml2ErrorCodes.SUBJECT_NOT_FOUND,"Failed to find subject in LogoutRequest"));
@ -187,8 +192,8 @@ public final class OpenSamlLogoutRequestValidator implements Saml2LogoutRequestV
@@ -187,8 +192,8 @@ public final class OpenSamlLogoutRequestValidator implements Saml2LogoutRequestV