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