fedletXACMLQuery.jsp revision e8721886dbfd32e88cc7077cbee4b6bb1b44b443
1N/A<%@ page import="com.sun.identity.saml2.common.SAML2Exception" %>
1N/A<%@ page import="com.sun.identity.saml2.jaxb.metadata.IDPSSODescriptorElement" %>
1N/A<%@ page import="com.sun.identity.saml2.jaxb.metadata.SingleSignOnServiceElement" %>
1N/A<%@ page import="com.sun.identity.saml2.meta.SAML2MetaException" %>
1N/A<%@ page import="com.sun.identity.saml2.meta.SAML2MetaManager" %>
1N/A<%@ page import="com.sun.identity.shared.encode.URLEncDec" %>
1N/A<%@ page import="java.io.IOException" %>
1N/A<%@ page import="java.io.File" %>
1N/A<%@ page import="java.io.InputStream" %>
1N/A<%@ page import="java.io.FileOutputStream" %>
1N/A<%@ page import="java.util.ArrayList" %>
1N/A<%@ page import="java.util.Iterator" %>
1N/A<%@ page import="java.util.List" %>
1N/A<%@ page import="java.util.Map" %>
1N/A<%@ page import="java.util.Set" %>
1N/A<%@ page import="com.sun.identity.cot.CircleOfTrustManager" %>
1N/A<%@ page import="com.sun.identity.saml2.jaxb.entityconfig.EntityConfigElement" %>
1N/A if (document.fedletXACMLQuery.resource.value == "") {
1N/A String deployuri = request.getRequestURI();
1N/A int slashLoc = deployuri.indexOf("/", 1);
1N/A deployuri = deployuri.substring(0, slashLoc);
1N/A if ((fedletHomeDir == null) || (fedletHomeDir.trim().length() == 0)) {
fedletHomeDir = File.separator + "fedlet";
File.separator + "fedlet";
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<div class="MstDiv"><table width="100%" border="0" cellpadding="0" cellspacing="0" class="MstTblTop" title="">
Set members = cotManager.getAllCirclesOfTrust("/");
if ((members == null) || members.isEmpty()) {
out.print("Misconfiguration - No circle of trust for root realm.");
<div class="MstDivTtl"><img name="ProdName" src="<%= deployuri %>/console/images/PrimaryProductName.png" alt="" /></div></td><td class="MstTdLogo" width="1%"><img name="RMRealm.mhCommon.BrandLogo" src="<%= deployuri %>/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="<%= deployuri %>/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="<%= deployuri %>/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 method=get name="fedletXACMLQuery" action=fedletXACMLResp.jsp onsubmit="return checkEmptyResource();">
String idpEntityID = request.getParameter("idpEntityID");
String spEntityID = request.getParameter("spEntityID");
String nameIDValue = request.getParameter("nameIDValue");
String newNameIDValue = URLEncDec.encode(nameIDValue);
<input type=text name=resource value=<%=request.getRequestURL()%> size=120> <br>