Federation.jsp revision e8721886dbfd32e88cc7077cbee4b6bb1b44b443
0N/A<%--
1472N/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
1472N/A at opensso/legal/CDDLv1.0.txt.
1472N/A If applicable, add the following below the CDDL Header,
1472N/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
0N/A $Id: Federation.jsp,v 1.4 2008/06/25 05:50:22 qcheng Exp $
0N/A
0N/A--%>
0N/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
0N/A className="com.sun.identity.console.federation.FederationViewBean"
0N/A fireChildDisplayEvents="true" >
0N/A
0N/A<cc:i18nbundle baseName="amConsole" id="amConsole"
0N/A locale="<%=((com.sun.identity.console.base.AMViewBeanBase)viewBean).getUserLocale()%>"/>
0N/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.
0N/A --%>
0N/A function switchView(selectElmName) {
0N/A var frm = document.forms[0];
0N/A frm.action += "?Federation.btnSearch=1";
0N/A frm.submit();
0N/A }
0N/A
0N/A var txtSelectProtocol = "<cc:text name="txtSelectProtocol" defaultValue="federation.entity.select.protocol" bundleID="amConsole" />";
0N/A var optionSAML2 = "<cc:text name="txtProtocolSAMLv2" defaultValue="federation.entity.protocol.samlv2" bundleID="amConsole" />";
0N/A var optionIDFF = "<cc:text name="txtProtocolIDFF" defaultValue="federation.entity.protocol.idff" bundleID="amConsole" />";
0N/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;
}
function selectProviderType() {
document.getElementById('dlg').style.height = '175px';
fade();
var str = '<form name="dummy" action="#" onSubmit="return false;">' +
'<b>' + txtSelectProtocol + '</b><p><div style="text-align:left">' +
'<input type="radio" name="protocoltype" value="samlv2"' +
' onClick="gotoProtocolPage(this);">' +
optionSAML2 + '<br />' +
'<input type="radio" name="protocoltype" value="idff"' +
' onClick="gotoProtocolPage(this);">' +
optionIDFF + '<br />' +
'<input type="radio" name="protocoltype" value="wsfed"' +
' onClick="gotoProtocolPage(this);">' +
optionWSFed + '</div>' +
closeBtn + '</p>' +
'</form>';
document.getElementById('dlg').innerHTML = '<center>' +
str + '</center>';
return false;
}
</script>
<script language="javascript" src="../console/js/am.js"></script>
<div id="main" style="position: absolute; margin: 0; border: none; padding: 0; width:auto; height:1000">
<cc:form name="Federation" method="post" defaultCommandChild="/btnSearch">
<jato:hidden name="szCache" />
<%-- HEADER --%>
<script language="javascript">
function confirmLogout() {
return confirm("<cc:text name="txtLogout" defaultValue="masthead.logoutMessage" bundleID="amConsole"/>");
}
</script>
<cc:primarymasthead name="mhCommon" bundleID="amConsole" logoutOnClick="return confirmLogout();"
locale="<%=((com.sun.identity.console.base.AMViewBeanBase)viewBean).getUserLocale()%>"/>
<cc:tabs name="tabCommon" bundleID="amConsole" />
<table border="0" cellpadding="10" cellspacing="0" width="100%">
<tr>
<td>
<cc:alertinline name="ialertCommon" bundleID="amConsole" />
</td>
</tr>
</table>
<%-- PAGE CONTENT --%>
<cc:propertysheet name="propertyAttributes" bundleID="amConsole" showJumpLinks="true" />
<%-- END CONTENT --%>
</cc:form>
</div>
<div id="dlg" class="dvs"></div>
</cc:header>
</jato:useViewBean>