docs: protected NameID finalizeNameId(final NameID nameid,
                                      final RequestAbstractType authnRequest,
                                      final Object assertion,
                                      final List<String> supportedNameFormats,
                                      final SamlRegisteredService service,
                                      final SamlRegisteredServiceServiceProviderMetadataFacade adaptor) {
  
          if (StringUtils.isNotBlank(service.getNameIdQualifier())) {
              nameid.setNameQualifier(service.getNameIdQualifier());
          } else {
              val issuer = SamlIdPUtils.getIssuerFromSamlObject(authnRequest);
              nameid.setNameQualifier(issuer);
          }
  
          if (StringUtils.isNotBlank(service.getServiceProviderNameIdQualifier())) {
              nameid.setSPNameQualifier(service.getServiceProviderNameIdQualifier());
          } else {
              nameid.setSPNameQualifier(adaptor.getEntityId());
          }
          return nameid;
      }