<%@ include file="/sdk/oemTop.jspf" %> <%@ include file="/oemNoscript.jspf" %> <%@ taglib uri="http://xmlns.oracle.com/uix/ui" prefix="uix"%> <%@ taglib uri="http://xmlns.oracle.com/oem/jsp/tag" prefix="oem"%> <%@ page import="oracle.sysman.emSDK.util.jdk.NLSUtil"%> <%@ page import="oracle.cabo.ui.data.BundleDataObject"%> <%@ page import="oracle.sysman.emSDK.util.jdk.NLSUtil"%> <%@ page import="oracle.sysman.db.rsc.sec.EUSMsg"%> <%@ page import="oracle.cabo.ui.data.BundleDataObject"%> <%@ page import="oracle.sysman.emo.adm.security.eus.EUSConstants"%> <%@ page import="oracle.sysman.emo.adm.security.eus.EUSSubComponentsDataSourceConstants"%> <%@ page import="oracle.sysman.emo.adm.security.eus.EUSSubComponentsDataSource"%> <%@ page import="oracle.sysman.emo.adm.security.eus.EUSComponent"%> <%@ page import="oracle.sysman.emo.adm.security.eus.EUSComponentType"%> <%@ page import="oracle.sysman.emo.adm.security.eus.EUSSubComponentType"%> <%@ page import="java.util.ResourceBundle"%> <%@ page import="java.util.Map"%> <%@ page import="java.util.Set"%> <%@ page import="java.util.List"%> <%@ page import="java.util.HashMap"%> <%@ page import="java.util.Iterator"%> <%@ page import="oracle.sysman.emo.util.UIXDataSource"%> <%@ page import="oracle.sysman.db.adm.ParameterNames"%> <% String sFormDestinationURL=(String)request.getAttribute(EUSConstants.EUS_BASE_URL_TO_COMPONENT); String sEvent=""; if(request.getAttribute("SUB_COMPONENT_EVENT") != null) sEvent=EUSConstants.EUS_CREATE_SUB_COMPONENT; else sEvent=EUSConstants.EUS_EDIT_SUB_COMPONENT ; String sFinalUrl=request.getContextPath()+sFormDestinationURL+"&event="+sEvent+"&subevent=addDBUser"; String sAddUserJSFunction="submitMainForm('"+sFinalUrl+"')"; String sSearchURL=request.getContextPath()+sFormDestinationURL+"&event="+sEvent+"&subevent=getDBUsers"; String sSearchJSFunction="submitCurrentForm('"+sSearchURL+"')"; request.setAttribute("eusBundle", new BundleDataObject(NLSUtil.getBundle(EUSMsg.class.getName(), request))); String dbVersion = (String)request.getAttribute("DBVERSION"); ResourceBundle eusBundle=NLSUtil.getBundle(EUSMsg.class.getName(), request); String sPageTitle=eusBundle.getString("SELECT_DB_USER_TEXT"); EUSSubComponentType fromRequestSubComponentType=null; String sFRomRequestSubComponentTYpe="0"; if(request.getAttribute(EUSConstants.SUB_COMPONENT_TYPE) != null) { fromRequestSubComponentType=(EUSSubComponentType) request.getAttribute(EUSConstants.SUB_COMPONENT_TYPE); sFRomRequestSubComponentTYpe=String.valueOf(fromRequestSubComponentType.getType()); } EUSComponentType fromRequestComponentType=null; String sFRomRequestComponentTYpe="0"; if(request.getAttribute(EUSConstants.EUS_COMPONENT_TYPE) != null) { fromRequestComponentType=(EUSComponentType) request.getAttribute(EUSConstants.EUS_COMPONENT_TYPE); sFRomRequestComponentTYpe=String.valueOf(fromRequestComponentType.getType()); } String sCurrentJSP="/database/security/eus/eusdbuserslov"; %> <%@ include file="/oemTitle.jspf" %> " shortDesc="<%=eusBundle.getString(\"EUS_CANCEL_TEXT\")%>" onClick="cancel()"/> " shortDesc="<%=eusBundle.getString(\"EUS_SELECT_TEXT\")%>" onClick="<%=sAddUserJSFunction%>"/> <% if(request.getAttribute("SELECTED_DB_NAME") != null) { %> " shortDesc="<%=eusBundle.getString(\"EUS_DATABASE_TEXT\")%>"/> <% } if(request.getAttribute("DB_USERS_SEARCH_PROPERTIES") != null) { Map additionalSearchProperties=(Map)request.getAttribute("DB_USERS_SEARCH_PROPERTIES"); Set keySet=additionalSearchProperties.keySet(); Iterator iterator=keySet.iterator(); while(iterator.hasNext()) { String sKey=(String)iterator.next(); Object obj=additionalSearchProperties.get(sKey); if(obj instanceof java.util.List) { %> <% List databases=(List)obj; for(int i=0;i <% } %> <% } else if(obj instanceof java.lang.String && String.valueOf(obj).equals("PASSWORD")) { %> <% } else if(obj==null) { %> <% } } %> " shortDesc="<%=eusBundle.getString(\"EUS_SEARCH_TEXT\")%>"/> <% } %> <% String sDisplayNameKey="USER_GROUP_NAME"; //String sDisplayNameKey="SUBCOMP_106_COMP_3_COL0"; String sDisplayName = eusBundle.getString(sDisplayNameKey); //String sDisplayName = "Name"; %> " shortDesc="<%=eusBundle.getString(\"EUS_CANCEL_TEXT\")%>" onClick="cancel()"/> " shortDesc="<%=eusBundle.getString(\"EUS_SELECT_TEXT\")%>" onClick="<%=sAddUserJSFunction%>"/>