anchor.diff:  
               var numberOfRoleMappings = document.getElementById("roleMappingAddTable").rows.length;
               document.getElementById('number_of_rolemappings').value = numberOfRoleMappings;
  +            encodeSPCertificate();
   
               $.ajax({
                   type: "POST",
                   url: 'configure-service-provider-update-ajaxprocessor.jsp?spName=<%=Encode.forUriComponent(spName)%>',
                   data: $("#configure-sp-form").serialize()
               });
  +            decodeSPCertificate();
           }
   
           jQuery('#publicCertDeleteLink').click(function () {
  
positive.code:                 });
              }
          });
      }
  
      function updateBeanAndPostToWithConfirmation(postURL, data) {
  
negative.code:             },
              async: false
          });
          decodeSPCertificate();
      }
  
      function createAppOnclick() {
  