anchor.diff:                      return false;
                   }
                   if (isUnspecified) {
  -                currentColumnId = cleanAndGenerateNewAuthnTable(selectedAuthnContextClass);
  +                    currentColumnId = cleanAndGenerateNewAuthnTable(selectedAuthnContextClass);
  +                } else {
  +                    var newAuthnContextClass = authnContextClasses + "," + selectedAuthnContextClass;
  +                    if(newAuthnContextClass.length > 255){
  +                        CARBON.showWarningDialog("Exceed the Selection Limit", null, null);
  +                        return false;
  +                    } else {
  +                        if(selectedAuthnContextClass === '<%=IdentityApplicationConstants.Authenticator.SAML2SSO.CUSTOM_AUTHENTICATION_CONTEXT_CLASS_OPTION%>'){
  +                            jQuery('#custom_authentication_context_class').removeAttr('disabled');
  +                        }
  +                        $("#authnContextCls").val(newAuthnContextClass);
  +                        var row =
  +                            '<tr id="authnCtxCls_' + parseInt(currentColumnId) + '">' +
  +                            '</td><td style="padding-left: 15px !important; color: rgb(119, 119, 119);font-style: italic;">' + selectedAuthnContextClass +
  +                            '</td><td><a onclick="removeAuthnContextClass(\'' + selectedAuthnContextClass + '\', \'authnCtxCls_' + parseInt(currentColumnId) + '\');return false;"' +
  +                            'href="#" class="icon-link" style="background-image: url(../admin/images/delete.gif)"> Delete </a></td></tr>';
  +
  +                        $('#authnContextClsTable tr:last').after(row);
  +                    }
                   }
  -                else {
  -                var newAuthnContextClass = authnContextClasses + "," + selectedAuthnContextClass;
  -                if(newAuthnContextClass.length > 255){
  -                   CARBON.showWarningDialog("Exceed the Selection Limit", null, null);
  -                   return false;
  -                }
  -                else {
  -                $("#authnContextCls").val(newAuthnContextClass);
  -                var row =
  -                        '<tr id="authnCtxCls_' + parseInt(currentColumnId) + '">' +
  -                        '</td><td style="padding-left: 15px !important; color: rgb(119, 119, 119);font-style: italic;">' + selectedAuthnContextClass +
  -                        '</td><td><a onclick="removeAuthnContextClass(\'' + selectedAuthnContextClass + '\', \'authnCtxCls_' + parseInt(currentColumnId) + '\');return false;"' +
  -                         'href="#" class="icon-link" style="background-image: url(../admin/images/delete.gif)"> Delete </a></td></tr>';
  -
  -                $('#authnContextClsTable tr:last').after(row);
  -                }
  -                }
  -            }
  -            $("#currentColumnId").val(parseInt(currentColumnId) + 1);
  +        }
  +        $("#currentColumnId").val(parseInt(currentColumnId) + 1);
       }
   
       function removeAuthnContextClass(selectedAuthnContextClass, columnId) {
  
positive.code:                         'href="#" class="icon-link" style="background-image: url(../admin/images/delete.gif)"> Delete </a></td></tr>';
  
                  $('#authnContextClsTable tbody').append(row);
  
              } else {
                  var isExist = false;
                  var isUnspecified = false;
                  $.each(authnContextClasses.split(","), function (index, value) {
  
negative.code:                 jQuery('#custom_authentication_context_class').val("");
                  jQuery('#custom_authentication_context_class').attr('disabled', true);
          } else if (authnContextClasses == null || authnContextClasses.trim().length == 0) {
                  if(selectedAuthnContextClass === '<%=IdentityApplicationConstants.Authenticator.SAML2SSO.CUSTOM_AUTHENTICATION_CONTEXT_CLASS_OPTION%>'){
                      jQuery('#custom_authentication_context_class').removeAttr('disabled');
                  }
                  $("#authnContextCls").val(selectedAuthnContextClass);
                  var row =
                          '<tr id="authnCtxCls_' + parseInt(currentColumnId) + '">' +
  