ConfigureOAuth2.jsp revision f58c87ece2202b8f85310d8885c7e39a7f435c09
dc0d8d65d35787d30a275895ccad8d8e1b58a5ednd* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
6ae232055d4d8a97267517c5e50074c2c819941and* Copyright © 2012 ForgeRock Inc. All rights reserved.
6ae232055d4d8a97267517c5e50074c2c819941and* The contents of this file are subject to the terms
dc0d8d65d35787d30a275895ccad8d8e1b58a5ednd* of the Common Development and Distribution License
dc0d8d65d35787d30a275895ccad8d8e1b58a5ednd* (the License). You may not use this file except in
dc0d8d65d35787d30a275895ccad8d8e1b58a5ednd* compliance with the License.
<cc:header name="hdrCommon" pageTitle="webconsole.title" bundleID="amConsole" copyrightYear="2008" fireDisplayEvents="true">
<div id="main" style="position: absolute; margin: 0; border: none; padding: 0; width:auto; height:101%;">
<div id="divhelp" style="display: none; position:absolute; margin: 0; border: 1px solid #AABCC8; padding: 0; width:400px; height:200px; background:#FCFCFC">
return confirm("<cc:text name="txtLogout" defaultValue="masthead.logoutMessage" bundleID="amConsole"/>");
<cc:primarymasthead name="mhCommon" bundleID="amConsole" logoutOnClick="return confirmLogout();" locale="<%=((com.sun.identity.console.base.AMViewBeanBase)viewBean).getUserLocale()%>"/>
<cc:pagetitle name="pgtitle" bundleID="amConsole" pageTitleText="page.title.configure.oauth2" showPageTitleSeparator="true" viewMenuLabel="" pageTitleHelpMessage="" showPageButtonsTop="true" showPageButtonsBottom="false" />
var msgCreating = "<p><img src=\"/console/images/processing.gif\" width=\"66\" height\"66\"/></p><cc:text name="txtConfiguring" defaultValue="configuring.oauth2.waiting" bundleID="amConsole" escape="false" />";
var ttlCreated = "<h3><cc:text name="txtTtlCreated" defaultValue="oauth2.configured.title" escape="false" bundleID="amConsole" /></h3>";
var msgCreated = "<p> </p><input name=\"btnOK\" type=\"submit\" class=\"Btn1\" value=\"<cc:text name="txtOKBtn" defaultValue="ajax.ok.button" bundleID="amConsole" />\" onClick=\"document.location.replace(\'/task/Home\');return false;\" /></div></p>";
var closeBtn = "<p> </p><p><div class=\"TtlBtnDiv\"><input name=\"btnClose\" type=\"submit\" class=\"Btn1\" value=\"<cc:text name="txtCloseBtn" defaultValue="ajax.close.button" bundleID="amConsole" />\" onClick=\"focusMain();return false;\" /></div></p>";
var frm = document.forms['ConfigureOAuth2'];
btn1.onclick = submitPage;
btn2.onclick = cancelOp;
if (ajaxObj.readyState == 4) {
var result = hexToString(ajaxObj.responseText);
document.getElementById('dlg').innerHTML = msg;