<%try{ %> <%@ page contentType="text/html; charset=UTF-8" %> <%@ taglib uri="http://xmlns.oracle.com/uix/ui" prefix="uix" %> <%@ taglib uri="http://xmlns.oracle.com/oem/jsp/tag" prefix="oem" %> <%@ taglib uri="http://xmlns.oracle.com/oem/jsp/tag/db" prefix="db" %> <%@ page import="oracle.sysman.emo.util.UIXDataSource" %> <%@ page import="oracle.sysman.db.rsc.sec.dv.DVMsgID" %> <%@ page import="oracle.sysman.db.rsc.inst.DBMsgID"%> <%@ page import="oracle.sysman.db.adm.sec.dv.DVController"%> <%@ page import="oracle.sysman.db.adm.ParameterNames"%> <%@ include file="/oemNoscript.jspf" %> <% String sUrl = "/console/database/security/dv/DV?event="; String sTargetName = request.getParameter(ParameterNames.TARGET); String stargetType = request.getParameter(ParameterNames.TARGET_TYPE); String stt = "&"+ParameterNames.TARGET+"="+sTargetName+"&"+ParameterNames.TARGET_TYPE+"="+stargetType; String sFinalUrl=request.getContextPath()+sUrl+"refresh"+stt; String sFinalUrl3=request.getContextPath()+sUrl+"showAdminTab"+stt; String sFinalUrl1=request.getContextPath()+sUrl+"violationsGo"+stt; String sFinalUrl2=request.getContextPath()+sUrl+"violatorsGo"+stt; String sJS="please('"+sFinalUrl+"')"; String sJS1="please('"+sFinalUrl1+"')"; String sJS2="please('"+sFinalUrl2+"')"; String sJS5="please('"+sFinalUrl3+"')"; String sIsDVAUrlNotAvailable = request.getParameter("isDVAUrlNotAvailable"); if(sIsDVAUrlNotAvailable == null ){ sIsDVAUrlNotAvailable =(String) request.getAttribute("isDVAUrlNotAvailable"); } String sJS3 = null; String sJS4 = null; if(sIsDVAUrlNotAvailable.equals("false")){ String sRealmUrl = request.getParameter("activeRealmUrl"); if(sRealmUrl == null){ sRealmUrl = (String )request.getAttribute("activeRealmUrl"); } String sCommandUrl = request.getParameter("activeCommandUrl"); if(sCommandUrl == null){ sCommandUrl = (String)request.getAttribute("activeCommandUrl"); } sJS3 = "LaunchDVA('"+sRealmUrl+"')"; sJS4 = "LaunchDVA('"+sCommandUrl+"')"; } String sIsRealmCritical = request.getParameter("isRealmCritical"); if(sIsRealmCritical == null){ sIsRealmCritical = (String)request.getAttribute("isRealmCritical"); } if(sIsRealmCritical == null){ sIsRealmCritical = "false"; } String sIsCommandCritical = request.getParameter("isCommandCritical"); if(sIsCommandCritical == null){ sIsCommandCritical = (String)request.getAttribute("isCommandCritical"); } if(sIsCommandCritical == null){ sIsCommandCritical = "false"; } String sIsPolicyChangeCritical = request.getParameter("isPolicyChangeCritical"); if(sIsPolicyChangeCritical == null){ sIsPolicyChangeCritical = (String)request.getAttribute("isPolicyChangeCritical"); } if(sIsPolicyChangeCritical == null){ sIsPolicyChangeCritical = "false"; } %> <%@ include file="/database/global.jspf" %> <%-- --%> <%-- --%> <%-- --%> <% if(sIsDVAUrlNotAvailable.equals("false")){ %> <%-- --%> <% if(sIsRealmCritical.equals("true")){ %> <%-- --%> <% } %> <% }else{ %> <%-- --%> <%-- --%> <%-- --%> <% if(sIsRealmCritical.equals("true")){ %> <%-- --%> <% } %> <% } %> <% if(sIsDVAUrlNotAvailable.equals("false")){ %> <%-- --%> <% if(sIsCommandCritical.equals("true")){ %> <%-- --%> <% } %> <% }else{ %> <%-- --%> <%-- --%> <%-- --%> <% if(sIsCommandCritical.equals("true")){ %> <%-- --%> <% } %> <% } %> <%-- --%> <%-- --%> <%-- --%> <%-- --%> <%-- --%> <%-- --%> <%-- --%> <%-- --%> <% }catch(Throwable t){ java.io.StringWriter stack = new java.io.StringWriter(1000); t.printStackTrace(new java.io.PrintWriter(stack)); //s_log.error(stack.toString()); out.print(stack.toString()); } %>