anchor.diff:  <%@ page import="org.wso2.carbon.identity.application.common.model.xsd.Property" %>
   <%@ page import="org.apache.commons.collections.CollectionUtils" %>
   <%@ page import="java.util.ArrayList" %>
  -<%@ page import="org.apache.commons.lang.StringUtils" %>
  -<%@ page import="org.wso2.carbon.identity.oauth.dao.OAuthAppDAO" %>
  -<%@ page import="org.wso2.carbon.identity.oauth.common.OAuthConstants" %>
   
   <link href="css/idpmgt.css" rel="stylesheet" type="text/css" media="all"/>
   <carbon:breadcrumb label="breadcrumb.service.provider" resourceBundle="org.wso2.carbon.identity.application.mgt.ui.i18n.Resources"
  
positive.code:     String action = request.getParameter("action");
      String[] userStoreDomains = null;
      boolean isNeedToUpdate = false;
      String appstate = request.getParameter("appState");
  
      String authTypeReq =  request.getParameter("authType");
      if (authTypeReq!=null && authTypeReq.trim().length()>0){
  
negative.code: 
      if(ApplicationBean.AUTH_TYPE_FLOW.equals(authTypeReq) && "update".equals(action)) {
          isNeedToUpdate = true;
      }
      
      String authType = appBean.getAuthenticationType();
  