Edit D:\app\Administrator\product\11.2.0\dbhome_1\oc4j\j2ee\oc4j_applications\applications\em\em\database\security\dv\dvAdmin.jsp
<%@ 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.adm.sec.dv.DVController" %> <%@ page import="oracle.sysman.db.rsc.inst.DBMsgID"%> <%@ page import="oracle.sysman.db.adm.ParameterNames"%> <%@ include file="/oemNoscript.jspf" %> <uix:renderingContext id="renderingContext"> <oem:setURLEncoder id="renderingContext"/> <db:script src="/database/LOV.js"/> <uix:bundle name="dbMsgs" class="oracle.sysman.db.rsc.DBObjectMsg"/> <uix:bundle name="dvMsgs" class="oracle.sysman.db.rsc.sec.dv.DVMsg"/> <uix:bundle name="dvPolicyMgmtMsgs" class="oracle.sysman.db.rsc.sec.dv.DVPolicyMgmtMsg"/> <uix:bundle name="dbMsgs1" class="oracle.sysman.db.rsc.inst.DBMsg"/> <% String sTargetName = request.getParameter(ParameterNames.TARGET); String stargetType = request.getParameter(ParameterNames.TARGET_TYPE); String sFinalUrl=request.getContextPath()+"/console/database/security/dv/DV?event=showHomeTab"+ "&"+ParameterNames.TARGET+"="+sTargetName+ "&"+ParameterNames.TARGET_TYPE+"="+stargetType; String sJS="please('"+sFinalUrl+"')"; String sIsDVAUrlNotAvailable = request.getParameter("isDVAUrlNotAvailable"); if(sIsDVAUrlNotAvailable == null ){ sIsDVAUrlNotAvailable =(String) request.getAttribute("isDVAUrlNotAvailable"); } String sDVAUrl = null; String sRealmUrl = null; String sCommandUrl = null; String s3 = null; String s4 = null; String s5 = null; String s6 = null; String s7 = null; String s8 = null; if(sIsDVAUrlNotAvailable.equals("true")){ sDVAUrl = request.getParameter("DVA_URL"); if(sDVAUrl == null ){ sDVAUrl=(String) request.getAttribute("DVA_URL"); } sRealmUrl = sDVAUrl+"&subevent=DVAURLNOTSET"; sCommandUrl = sDVAUrl+"&subevent=DVAURLNOTSET"; s3 = sDVAUrl+"&subevent=DVAURLNOTSET"; s4 = sDVAUrl+"&subevent=DVAURLNOTSET"; s5 = sDVAUrl+"&subevent=DVAURLNOTSET"; s6 = sDVAUrl+"&subevent=DVAURLNOTSET"; s7 = sDVAUrl+"&subevent=DVAURLNOTSET"; s8 = sDVAUrl+"&subevent=DVAURLNOTSET"; }else{ sRealmUrl = request.getParameter("realmUrl"); if(sRealmUrl == null){ sRealmUrl = (String )request.getAttribute("realmUrl"); } sCommandUrl = request.getParameter("commandRulesUrl"); if(sCommandUrl == null){ sCommandUrl = (String)request.getAttribute("commandRulesUrl"); } s3= request.getParameter("factorsUrl"); if(s3== null){ s3= (String)request.getAttribute("factorsUrl"); } s4= request.getParameter("ruleSetsUrl"); if(s4== null){ s4= (String)request.getAttribute("ruleSetsUrl"); } s5= request.getParameter("secureApplicationRolesUrl"); if(s5== null){ s5= (String)request.getAttribute("secureApplicationRolesUrl"); } s6= request.getParameter("labelSecurityIntegrationUrl"); if(s6== null){ s6= (String)request.getAttribute("labelSecurityIntegrationUrl"); } s7= request.getParameter("configurationIssuesAndAuditingUrl"); if(s7== null){ s7= (String)request.getAttribute("configurationIssuesAndAuditingUrl"); } s8= request.getParameter("generalSecurityUrl"); if(s8== null){ s8= (String)request.getAttribute("generalSecurityUrl"); } } String sJS3 = "LaunchDVA('"+sRealmUrl+"')"; String sJS4 = "LaunchDVA('"+sCommandUrl+"')"; String sJS5 = "LaunchDVA('"+s3+"')"; String sJS6 = "LaunchDVA('"+s4+"')"; String sJS7 = "LaunchDVA('"+s5+"')"; String sJS8 = "LaunchDVA('"+s6+"')"; String sJS9 = "LaunchDVA('"+s7+"')"; String sJS10 = "LaunchDVA('"+s8+"')"; %> <uix:document> <uix:metaContainer> <uix:head titleBinding="title@servletRequest"/> </uix:metaContainer> <script> function please(url) { document.dvAdmin.action = url; document.dvAdmin.submit(); } function LaunchDVA(dvaURL){ if(dvaURL != "" ){ window.open(dvaURL,'dvaWindow'); } } </script> <uix:body> <db:form name="dvAdmin" method="post" destination="/console/database/security/dv/DV" copyParams="target,type,otype,objectType"> <uix:formValue name="pageName" valueBinding="pageName@servletRequest" /> <uix:pageLayout titleBinding="header@servletRequest" > <%@ include file="/database/global.jspf" %> <oem:messageBox messageType="info" errorTableBinding="info@servletRequest" titleTextKey="titleText" mainTextKey="mainText"/> <oem:messageBox messageType="error" errorTableBinding="errors@servletRequest" titleTextKey="titleText" mainTextKey="mainText"/> <uix:messageBox messageBinding="DV_POLICY_MGMT_JOB_SUBMITTED_SUCCESS_MSG@dvPolicyMgmtMsgs" messageType="confirmation" textBinding="DV_POLICY_MGMT_CONFIRMATION_TXT@dvPolicyMgmtMsgs" renderedBinding="propogateJobSubmitted@servletRequest"> <uix:link textBinding="propogateJobName@servletRequest" destinationBinding="propogateJobLink@servletRequest"/> </uix:messageBox> <!-- Main Contents Starts Here --> <uix:subTabLayout> <uix:subTabs> <uix:subTabBar selectedIndex="1"> <uix:contents> <uix:link shortDescBinding="HOME@DBMsgBundle@servletRequest" textBinding="HOME@DBMsgBundle@servletRequest" onClickBinding="showHomeTabUrl@servletRequest"/> <uix:link shortDescBinding="ADMINISTRATION@DBMsgBundle@servletRequest" textBinding="ADMINISTRATION@DBMsgBundle@servletRequest" /> </uix:contents> </uix:subTabBar> </uix:subTabs> <uix:tableLayout width="100%" hAlign="center"> <uix:rowLayout vAlign="top"> <uix:cellFormat vAlign="top" width="33%"> <uix:header textBinding="POLICY_ADMINISTRATION@dvMsgs" shortDescBinding="POLICY_ADMINISTRATION@dvMsgs" > <uix:tableLayout width="100%"> <% if(sIsDVAUrlNotAvailable.equals("false")){ %> <uix:rowLayout> <uix:cellFormat > <uix:link textBinding="REALMS@dvMsgs" onClickBinding="realmUrl@servletRequest" shortDescBinding="REALMS@dvMsgs" /> </uix:cellFormat> </uix:rowLayout> <uix:rowLayout> <uix:cellFormat > <uix:link textBinding="COMMAND_RULES@dvMsgs" onClickBinding="commandRulesUrl@servletRequest" shortDescBinding="COMMAND_RULES@dvMsgs"/> </uix:cellFormat> </uix:rowLayout> <uix:rowLayout> <uix:cellFormat > <uix:link textBinding="FACTORS@dvMsgs" onClickBinding="factorsUrl@servletRequest" shortDescBinding="FACTORS@dvMsgs"/> </uix:cellFormat> </uix:rowLayout> <uix:rowLayout> <uix:cellFormat > <uix:link textBinding="RULE_SETS@dvMsgs" onClickBinding="ruleSetsUrl@servletRequest" shortDescBinding="RULE_SETS@dvMsgs" /> </uix:cellFormat> </uix:rowLayout> <uix:rowLayout> <uix:cellFormat > <uix:link textBinding="SECURE_APPLICATION_ROLES@dvMsgs" onClickBinding="secureApplicationRolesUrl@servletRequest" shortDescBinding="SECURE_APPLICATION_ROLES@dvMsgs" /> </uix:cellFormat> </uix:rowLayout> <% }else{ %> <uix:rowLayout> <uix:cellFormat > <db:link textBinding="REALMS@dvMsgs" destinationBinding="DVA_URL@servletRequest" shortDescBinding="REALMS@dvMsgs" copyParams="target,type" /> </uix:cellFormat> </uix:rowLayout> <uix:rowLayout> <uix:cellFormat > <db:link textBinding="COMMAND_RULES@dvMsgs" destinationBinding="DVA_URL@servletRequest" shortDescBinding="COMMAND_RULES@dvMsgs" copyParams="target,type" /> </uix:cellFormat> </uix:rowLayout> <uix:rowLayout> <uix:cellFormat > <db:link textBinding="FACTORS@dvMsgs" destinationBinding="DVA_URL@servletRequest" shortDescBinding="FACTORS@dvMsgs" copyParams="target,type" /> </uix:cellFormat> </uix:rowLayout> <uix:rowLayout> <uix:cellFormat > <db:link textBinding="RULE_SETS@dvMsgs" destinationBinding="DVA_URL@servletRequest" shortDescBinding="RULE_SETS@dvMsgs" copyParams="target,type" /> </uix:cellFormat> </uix:rowLayout> <uix:rowLayout> <uix:cellFormat > <db:link textBinding="SECURE_APPLICATION_ROLES@dvMsgs" destinationBinding="DVA_URL@servletRequest" shortDescBinding="SECURE_APPLICATION_ROLES@dvMsgs" copyParams="target,type" /> </uix:cellFormat> </uix:rowLayout> <% } %> <uix:rowLayout> <uix:cellFormat > <db:link textBinding="DATABASE_VAULT_ADMINISTRATOR@dvMsgs" shortDescBinding="DATABASE_VAULT_ADMINISTRATOR@dvMsgs" destinationBinding="DVA_URL@servletRequest" copyParams="target,type"/> </uix:cellFormat> </uix:rowLayout> </uix:tableLayout> </uix:header> </uix:cellFormat> <uix:cellFormat vAlign="top" width="33%"> <uix:header textBinding="POLICY_PROPAGATION@dvMsgs" shortDescBinding="POLICY_PROPAGATION@dvMsgs" > <uix:tableLayout width="100%"> <uix:rowLayout> <uix:cellFormat> <db:link textBinding="DATABASE_VAULT_POLICY_MGMT@dvMsgs" shortDescBinding="DATABASE_VAULT_POLICY_MGMT@dvMsgs" destination="/console/database/security/dv/DVPolicymgmt?event=POLICY_MGMT_PAGE" copyParams="target,type"/> </uix:cellFormat> </uix:rowLayout> </uix:tableLayout> </uix:header> </uix:cellFormat> <uix:cellFormat vAlign="top" width="33%"> <uix:header textBinding="REPORTS@dvMsgs" shortDescBinding="REPORTS@dvMsgs" > <uix:tableLayout width="100%"> <uix:rowLayout> <uix:cellFormat> <db:link textBinding="ATTEMPTED_VIOLATIONS_REPORT@dvMsgs" shortDescBinding="ATTEMPTED_VIOLATIONS_REPORT@dvMsgs" destination="/console/database/security/dv/DVViolationSummary?event=searchViolations&over=1" copyParams="target,type"/> </uix:cellFormat> </uix:rowLayout> <uix:rowLayout> <uix:cellFormat > <db:link textBinding="POLICY_CHANGES_REPORT@dvMsgs" shortDescBinding="POLICY_CHANGES_REPORT@dvMsgs" destination="/console/database/security/dv/DVPolicyChanges?event=searchPolicyChanges&over=1" copyParams="target,type"/> </uix:cellFormat> </uix:rowLayout> </uix:tableLayout> </uix:header> </uix:cellFormat> </uix:rowLayout> </uix:tableLayout> <uix:header textBinding="RELATED_LINKS@DBMsgBundle@servletRequest" shortDescBinding="RELATED_LINKS@DBMsgBundle@servletRequest" > <uix:tableLayout width="100%" cellSpacing="2"> <uix:rowLayout> <uix:cellFormat width="33%" > <db:link textBinding="VIEW_ALL_METRICS@DBMsgBundle@servletRequest" shortDescBinding="VIEW_ALL_METRICS@DBMsgBundle@servletRequest" destination="/console/metrics/allMetrics" copyParams="target,type"/> </uix:cellFormat> <uix:cellFormat width="33%"> <db:link textBinding="CONFIGURE_ALERTS@dvMsgs" shortDescBinding="CONFIGURE_ALERTS@dvMsgs" destination="/console/metrics/target/metricThresholds" copyParams="target,type"/> </uix:cellFormat> <uix:cellFormat width="33%"> <uix:spacer width="1" height="0" /> </uix:cellFormat> </uix:rowLayout> </uix:tableLayout> </uix:header> <!-- navigation --> </uix:subTabLayout> </uix:pageLayout> </db:form> </uix:body> </uix:document> </uix:renderingContext>
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de