Configurator.jsp revision a393c458f24ae38c8259dea2245aa436abe248f9
0N/A $Id: Configurator.jsp,v 1.4 2009/11/03 00:51:42 madan_ranganath Exp $
0N/A String configTemplate = "/libIDPDiscoveryConfig.properties";
0N/A if (configF.exists()) {
0N/A SystemProperties.initializeProperties(configFile);
0N/A debugLevel = request.getParameter("debugLevel");
0N/A cookieType = request.getParameter("cookieType");
0N/A cookieDomain = request.getParameter("cookieDomain");
0N/A secureCookie = request.getParameter("secureCookie");
0N/A debugDir = request.getParameter("debugDir");
0N/A encodeCookie = request.getParameter("encodeCookie");
0N/A httpOnlyCookie = request.getParameter("httpOnlyCookie");
0N/A String submit = request.getParameter("submit");
0N/A String servletPath = request.getServletPath();
0N/A if ((debugLevel != null) && !debugLevel.equals("") &&
0N/A (cookieType != null) && !cookieType.equals("") &&
0N/A (secureCookie != null) && !secureCookie.equals("") &&
0N/A (debugDir != null) && !debugDir.equals("") &&
0N/A (encodeCookie != null) && !encodeCookie.equals("") &&
0N/A (httpOnlyCookie != null) && !httpOnlyCookie.equals("")) {
0N/A props.setProperty("DEBUG_DIR", debugDir);
0N/A props.setProperty("DEBUG_LEVEL", debugLevel);
0N/A props.setProperty("COOKIE_TYPE", cookieType);
0N/A props.setProperty("COOKIE_DOMAIN", cookieDomain);
0N/A props.setProperty("SECURE_COOKIE", secureCookie);
0N/A props.setProperty("ENCODE_COOKIE", encodeCookie);
0N/A props.setProperty("HTTP_ONLY_COOKIE", httpOnlyCookie);
0N/A configurator.createIDPDiscoveryConfig(configFile,
0N/A configurator.setIDPDiscoveryConfig(configFile);
0N/A errorMsg = "Unable to create sample AMConfig.properties " +
0N/A "file: " + ioex.getMessage();
0N/A<div class="MstDiv"><table width="100%" border="0" cellpadding="0" cellspacing="0" class="MstTblTop" title="">
<div class="MstDivTtl"><img name="ProdName" src="console/images/PrimaryProductName.png" alt="" /></div></td><td class="MstTdLogo" width="1%"><img name="RMRealm.mhCommon.BrandLogo" src="com_sun_web_ui/images/other/javalogo.gif" alt="Java(TM) Logo" border="0" height="55" width="31" /></td></tr></tbody></table>
<table class="MstTblEnd" border="0" cellpadding="0" cellspacing="0" width="100%"><tbody><tr><td><img name="RMRealm.mhCommon.EndorserLogo" src="com_sun_web_ui/images/masthead/masthead-sunname.gif" alt="Sun(TM) Microsystems, Inc." align="right" border="0" height="10" width="108" /></td></tr></tbody></table></div><div class="SkpMedGry1"><a name="SkipAnchor2089" id="SkipAnchor2089"></a></div>
<div class="SkpMedGry1"><a href="#SkipAnchor4928"><img src="com_sun_web_ui/images/other/dot.gif" alt="Jump Over Tab Navigation Area. Current Selection is: Access Control" border="0" height="1" width="1" /></a></div>
<form action="Configurator.jsp" method="GET"
<td><input name="debugDir" type="text" size="20" value="<%= debugDir == null ? "" : debugDir %>" /></td>