Federation.jsp revision e8721886dbfd32e88cc7077cbee4b6bb1b44b443
235N/A<%--
235N/A DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
235N/A
606N/A Copyright (c) 2006 Sun Microsystems Inc. All Rights Reserved
606N/A
235N/A The contents of this file are subject to the terms
606N/A of the Common Development and Distribution License
810N/A (the License). You may not use this file except in
235N/A compliance with the License.
235N/A
235N/A You can obtain a copy of the License at
235N/A https://opensso.dev.java.net/public/CDDLv1.0.html or
235N/A opensso/legal/CDDLv1.0.txt
235N/A See the License for the specific language governing
235N/A permission and limitations under the License.
235N/A
235N/A When distributing Covered Code, include this CDDL
235N/A Header Notice in each file and include the License file
235N/A at opensso/legal/CDDLv1.0.txt.
235N/A If applicable, add the following below the CDDL Header,
235N/A with the fields enclosed by brackets [] replaced by
235N/A your own identifying information:
235N/A "Portions Copyrighted [year] [name of copyright owner]"
235N/A
235N/A $Id: Federation.jsp,v 1.4 2008/06/25 05:50:22 qcheng Exp $
235N/A
235N/A--%>
235N/A
235N/A<%@ page info="Federation" language="java" %>
235N/A<%@taglib uri="/WEB-INF/jato.tld" prefix="jato" %>
235N/A<%@taglib uri="/WEB-INF/cc.tld" prefix="cc" %>
235N/A<jato:useViewBean
235N/A className="com.sun.identity.console.federation.FederationViewBean"
235N/A fireChildDisplayEvents="true" >
810N/A
235N/A<cc:i18nbundle baseName="amConsole" id="amConsole"
235N/A locale="<%=((com.sun.identity.console.base.AMViewBeanBase)viewBean).getUserLocale()%>"/>
235N/A
235N/A<cc:header name="hdrCommon" pageTitle="webconsole.title" bundleID="amConsole" copyrightYear="2007" fireDisplayEvents="true">
235N/A
235N/A<link rel="stylesheet" type="text/css" href="../console/css/openam.css" />
590N/A
235N/A<script language="javascript">
235N/A <%--
493N/A swichView() is called when the entity provider dropdown menu is
493N/A selected. This is called to submit the page with the selected value
235N/A in the dropdown submitted as the value in the form.
235N/A --%>
235N/A function switchView(selectElmName) {
235N/A var frm = document.forms[0];
235N/A frm.action += "?Federation.btnSearch=1";
235N/A frm.submit();
235N/A }
235N/A
235N/A var txtSelectProtocol = "<cc:text name="txtSelectProtocol" defaultValue="federation.entity.select.protocol" bundleID="amConsole" />";
590N/A var optionSAML2 = "<cc:text name="txtProtocolSAMLv2" defaultValue="federation.entity.protocol.samlv2" bundleID="amConsole" />";
235N/A var optionIDFF = "<cc:text name="txtProtocolIDFF" defaultValue="federation.entity.protocol.idff" bundleID="amConsole" />";
235N/A var optionWSFed = "<cc:text name="txtProtocolWSFed" defaultValue="federation.entity.protocol.wsfed" bundleID="amConsole" />";
235N/A
235N/A var closeBtn = '<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>';
235N/A
606N/A function gotoProtocolPage(radio) {
235N/A top.location = '../federation/CreateSAML2MetaData.jsp?p=' + radio.value;
235N/A }
606N/A
235N/A function selectProviderType() {
606N/A document.getElementById('dlg').style.height = '175px';
235N/A fade();
235N/A var str = '<form name="dummy" action="#" onSubmit="return false;">' +
235N/A '<b>' + txtSelectProtocol + '</b><p><div style="text-align:left">' +
235N/A '<input type="radio" name="protocoltype" value="samlv2"' +
235N/A ' onClick="gotoProtocolPage(this);">' +
235N/A optionSAML2 + '<br />' +
694N/A '<input type="radio" name="protocoltype" value="idff"' +
235N/A ' onClick="gotoProtocolPage(this);">' +
606N/A optionIDFF + '<br />' +
606N/A '<input type="radio" name="protocoltype" value="wsfed"' +
606N/A ' onClick="gotoProtocolPage(this);">' +
606N/A optionWSFed + '</div>' +
606N/A closeBtn + '</p>' +
606N/A '</form>';
606N/A document.getElementById('dlg').innerHTML = '<center>' +
606N/A str + '</center>';
606N/A return false;
606N/A }
606N/A</script>
705N/A
235N/A<script language="javascript" src="../console/js/am.js"></script>
235N/A<div id="main" style="position: absolute; margin: 0; border: none; padding: 0; width:auto; height:1000">
235N/A
235N/A<cc:form name="Federation" method="post" defaultCommandChild="/btnSearch">
247N/A<jato:hidden name="szCache" />
247N/A
247N/A<%-- HEADER --%>
235N/A<script language="javascript">
247N/A function confirmLogout() {
247N/A return confirm("<cc:text name="txtLogout" defaultValue="masthead.logoutMessage" bundleID="amConsole"/>");
235N/A }
235N/A</script>
241N/A<cc:primarymasthead name="mhCommon" bundleID="amConsole" logoutOnClick="return confirmLogout();"
493N/A locale="<%=((com.sun.identity.console.base.AMViewBeanBase)viewBean).getUserLocale()%>"/>
493N/A<cc:tabs name="tabCommon" bundleID="amConsole" />
235N/A
493N/A<table border="0" cellpadding="10" cellspacing="0" width="100%">
493N/A <tr>
493N/A <td>
493N/A <cc:alertinline name="ialertCommon" bundleID="amConsole" />
591N/A </td>
493N/A </tr>
493N/A</table>
493N/A
235N/A<%-- PAGE CONTENT --%>
493N/A
493N/A<cc:propertysheet name="propertyAttributes" bundleID="amConsole" showJumpLinks="true" />
493N/A
235N/A
235N/A<%-- END CONTENT --%>
235N/A</cc:form>
235N/A</div>
235N/A<div id="dlg" class="dvs"></div>
235N/A
235N/A</cc:header>
235N/A</jato:useViewBean>
235N/A