[prev in list] [next in list] [prev in thread] [next in thread]
List: forgerock-openam-commit
Subject: [CommitOpenAM] [14920] branches/sts_soap_install: commit of initial ViewBean/Task/.jsp/ property fil
From: noreply () forgerock ! org
Date: 2015-07-31 22:04:57
Message-ID: 20150731220457.7BA413FB8D () sources ! internal ! forgerock ! com
[Download RAW message or body]
[Attachment #2 (text/html)]
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>[14920] branches/sts_soap_install: commit of initial \
ViewBean/Task/.jsp/property files for a soap-sts deployment common task</title> \
</head> <body>
<style type="text/css"><!--
#msg dl.meta { border: 1px #006 solid; background: #369; padding: 6px; color: #fff; }
#msg dl.meta dt { float: left; width: 6em; font-weight: bold; }
#msg dt:after { content:':';}
#msg dl, #msg dt, #msg ul, #msg li, #header, #footer, #logmsg { font-family: \
verdana,arial,helvetica,sans-serif; font-size: 10pt; } #msg dl a { font-weight: \
bold} #msg dl a:link { color:#fc3; }
#msg dl a:active { color:#ff0; }
#msg dl a:visited { color:#cc6; }
h3 { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; font-weight: \
bold; } #msg pre { overflow: auto; background: #ffc; border: 1px #fa0 solid; padding: \
6px; } #logmsg { background: #ffc; border: 1px #fa0 solid; padding: 1em 1em 0 1em; }
#logmsg p, #logmsg pre, #logmsg blockquote { margin: 0 0 1em 0; }
#logmsg p, #logmsg li, #logmsg dt, #logmsg dd { line-height: 14pt; }
#logmsg h1, #logmsg h2, #logmsg h3, #logmsg h4, #logmsg h5, #logmsg h6 { margin: .5em \
0; } #logmsg h1:first-child, #logmsg h2:first-child, #logmsg h3:first-child, #logmsg \
h4:first-child, #logmsg h5:first-child, #logmsg h6:first-child { margin-top: 0; } \
#logmsg ul, #logmsg ol { padding: 0; list-style-position: inside; margin: 0 0 0 1em; \
} #logmsg ul { text-indent: -1em; padding-left: 1em; }#logmsg ol { text-indent: \
-1.5em; padding-left: 1.5em; } #logmsg > ul, #logmsg > ol { margin: 0 0 1em 0; }
#logmsg pre { background: #eee; padding: 1em; }
#logmsg blockquote { border: 1px solid #fa0; border-left-width: 10px; padding: 1em \
1em 0 1em; background: white;} #logmsg dl { margin: 0; }
#logmsg dt { font-weight: bold; }
#logmsg dd { margin: 0; padding: 0 0 0.5em 0; }
#logmsg dd:before { content:'\00bb';}
#logmsg table { border-spacing: 0px; border-collapse: collapse; border-top: 4px solid \
#fa0; border-bottom: 1px solid #fa0; background: #fff; } #logmsg table th { \
text-align: left; font-weight: normal; padding: 0.2em 0.5em; border-top: 1px dotted \
#fa0; } #logmsg table td { text-align: right; border-top: 1px dotted #fa0; padding: \
0.2em 0.5em; } #logmsg table thead th { text-align: center; border-bottom: 1px solid \
#fa0; } #logmsg table th.Corner { text-align: left; }
#logmsg hr { border: none 0; border-top: 2px dashed #fa0; height: 1px; }
#header, #footer { color: #fff; background: #636; border: 1px #300 solid; padding: \
6px; } #patch { width: 100%; }
#patch h4 {font-family: \
verdana,arial,helvetica,sans-serif;font-size:10pt;padding:8px;background:#369;color:#fff;margin:0;}
#patch .propset h4, #patch .binary h4 {margin:0;}
#patch pre {padding:0;line-height:1.2em;margin:0;}
#patch .diff {width:100%;background:#eee;padding: 0 0 10px 0;overflow:auto;}
#patch .propset .diff, #patch .binary .diff {padding:10px 0;}
#patch span {display:block;padding:0 10px;}
#patch .modfile, #patch .addfile, #patch .delfile, #patch .propset, #patch .binary, \
#patch .copfile {border:1px solid #ccc;margin:10px 0;} #patch ins \
{background:#dfd;text-decoration:none;display:block;padding:0 10px;} #patch del \
{background:#fdd;text-decoration:none;display:block;padding:0 10px;} #patch .lines, \
.info {color:#888;background:#fff;}
--></style>
<div id="msg">
<dl class="meta">
<dt>Revision</dt> <dd><a \
href="http://sources.forgerock.org/changelog/openam/?cs=14920">14920</a></dd> \
<dt>Author</dt> <dd>dhogan</dd> <dt>Date</dt> <dd>2015-07-31 23:04:57 +0100 (Fri, 31 \
Jul 2015)</dd> </dl>
<h3>Log Message</h3>
<pre>commit of initial ViewBean/Task/.jsp/property files for a soap-sts deployment \
common task</pre>
<h3>Added Paths</h3>
<ul>
<li><a href="#branchessts_soap_installopenamconsolesrcmainjavacomsunidentityconsoletas \
kCreateSoapSTSDeploymentViewBeanjava">branches/sts_soap_install/openam-console/src/mai \
n/java/com/sun/identity/console/task/CreateSoapSTSDeploymentViewBean.java</a></li> \
<li><a href="#branchessts_soap_installopenamconsolesrcmainwebappconsoletaskCreateSoapS \
TSDeploymentjsp">branches/sts_soap_install/openam-console/src/main/webapp/console/task/CreateSoapSTSDeployment.jsp</a></li>
<li><a href="#branchessts_soap_installopenamfederationOpenFMsrcmainjavacomsunidentity \
workflowCreateSoapSTSDeploymentjava">branches/sts_soap_install/openam-federation/OpenFM/src/main/java/com/sun/identity/workflow/CreateSoapSTSDeployment.java</a></li>
<li><a href="#branchessts_soap_installopenamfederationOpenFMsrcmainresourcescomsunide \
ntityconsolepropertyCreateSoapSTSDeploymentxml">branches/sts_soap_install/openam-feder \
ation/OpenFM/src/main/resources/com/sun/identity/console/propertyCreateSoapSTSDeployment.xml</a></li>
</ul>
</div>
<div id="patch">
<h3>Diff</h3>
<a id="branchessts_soap_installopenamconsolesrcmainjavacomsunidentityconsoletaskCreateSoapSTSDeploymentViewBeanjava"></a>
<div class="addfile"><h4>Added: \
branches/sts_soap_install/openam-console/src/main/java/com/sun/identity/console/task/CreateSoapSTSDeploymentViewBean.java \
(0 => 14920)</h4> <pre class="diff"><span>
<span class="info">--- \
branches/sts_soap_install/openam-console/src/main/java/com/sun/identity/console/task/CreateSoapSTSDeploymentViewBean.java \
(rev 0)
+++ branches/sts_soap_install/openam-console/src/main/java/com/sun/identity/console/task/CreateSoapSTSDeploymentViewBean.java 2015-07-31 \
22:04:57 UTC (rev 14920) </span><span class="lines">@@ -0,0 +1,100 @@
</span><ins>+package com.sun.identity.console.task;
+
+import com.iplanet.jato.view.View;
+import com.iplanet.jato.view.event.DisplayEvent;
+import com.sun.identity.console.base.AMPrimaryMastHeadViewBean;
+import com.sun.identity.console.base.AMPropertySheet;
+import com.sun.identity.console.base.model.AMConsoleException;
+import com.sun.identity.console.base.model.AMModel;
+import com.sun.identity.console.base.model.AMPropertySheetModel;
+import com.sun.identity.console.task.model.TaskModel;
+import com.sun.identity.console.task.model.TaskModelImpl;
+import com.sun.web.ui.model.CCPageTitleModel;
+import com.sun.web.ui.view.alert.CCAlert;
+import com.sun.web.ui.view.html.CCDropDownMenu;
+import com.sun.web.ui.view.pagetitle.CCPageTitle;
+
+import javax.servlet.http.HttpServletRequest;
+import java.util.Set;
+
+/**
+ * ViewBean associated with the CommonTask of creating a soap-sts deployment .war.
+ */
+public class CreateSoapSTSDeploymentViewBean extends AMPrimaryMastHeadViewBean {
+ public static final String DEFAULT_DISPLAY_URL =
+ "/console/task/CreateSoapSTSDeployment.jsp";
+ private static final String PAGETITLE = "pgtitle";
+ private static final String PROPERTY_ATTRIBUTE = "propertyAttributes";
+ private static final String REALM = "tfRealm";
+
+ private CCPageTitleModel ptModel;
+ private AMPropertySheetModel propertySheetModel;
+
+
+ public CreateSoapSTSDeploymentViewBean() {
+ super("CreateSoapSTSDeployment");
+ setDefaultDisplayURL(DEFAULT_DISPLAY_URL);
+ createPageTitleModel();
+ createPropertyModel();
+ registerChildren();
+ }
+
+ protected void registerChildren() {
+ propertySheetModel.registerChildren(this);
+ registerChild(PAGETITLE, CCPageTitle.class);
+ super.registerChildren();
+ }
+
+ protected View createChild(String name) {
+ View view;
+ if (name.equals(PAGETITLE)) {
+ view = new CCPageTitle(this, ptModel, name);
+ } else if (ptModel.isChildSupported(name)) {
+ view = ptModel.createChild(this, name);
+ } else if (name.equals(PROPERTY_ATTRIBUTE)) {
+ view = new AMPropertySheet(this, propertySheetModel, name);
+ } else if (propertySheetModel.isChildSupported(name)) {
+ view = propertySheetModel.createChild(this, name, getModel());
+ } else {
+ view = super.createChild(name);
+ }
+ return view;
+ }
+
+ private void createPageTitleModel() {
+ ptModel = new CCPageTitleModel(
+ getClass().getClassLoader().getResourceAsStream(
+ "com/sun/identity/console/twoBtnsPageTitle.xml"));
+ ptModel.setValue("button1", "button.create");
+ ptModel.setValue("button2", "button.cancel");
+ }
+
+ private void createPropertyModel() {
+ propertySheetModel = new AMPropertySheetModel(
+ getClass().getClassLoader().getResourceAsStream(
+ \
"com/sun/identity/console/propertyCreateSoapSTSDeployment.xml")); + \
propertySheetModel.clear(); + }
+
+ protected AMModel getModelInternal() {
+ HttpServletRequest req = getRequestContext().getRequest();
+ return new TaskModelImpl(req, getPageSessionAttributes());
+ }
+
+ public void beginDisplay(DisplayEvent e) {
+ try {
+ TaskModel model = (TaskModel) getModel();
+ Set realms = model.getRealms();
+ CCDropDownMenu menuRealm = (CCDropDownMenu) getChild(REALM);
+ menuRealm.setOptions(createOptionList(realms));
+
+ String realm = \
getRequestContext().getRequest().getParameter("realm"); + if \
(realm != null && !realm.trim().isEmpty()) { + \
setDisplayFieldValue(REALM, realm); + }
+ } catch (AMConsoleException ex) {
+ setInlineAlertMessage(CCAlert.TYPE_ERROR, "message.error",
+ ex.getMessage());
+ }
+ }
+}
</ins></span></pre></div>
<a id="branchessts_soap_installopenamconsolesrcmainwebappconsoletaskCreateSoapSTSDeploymentjsp"></a>
<div class="addfile"><h4>Added: \
branches/sts_soap_install/openam-console/src/main/webapp/console/task/CreateSoapSTSDeployment.jsp \
(0 => 14920)</h4> <pre class="diff"><span>
<span class="info">--- \
branches/sts_soap_install/openam-console/src/main/webapp/console/task/CreateSoapSTSDeployment.jsp \
(rev 0)
+++ branches/sts_soap_install/openam-console/src/main/webapp/console/task/CreateSoapSTSDeployment.jsp 2015-07-31 \
22:04:57 UTC (rev 14920) </span><span class="lines">@@ -0,0 +1,167 @@
</span><ins>+<%--
+ ~ The contents of this file are subject to the terms of the Common Development and
+ ~ Distribution License (the License). You may not use this file except in \
compliance with the + ~ License.
+ ~
+ ~ You can obtain a copy of the License at legal/CDDLv1.0.txt. See the License for \
the + ~ specific language governing permission and limitations under the License.
+ ~
+ ~ When distributing Covered Software, include this CDDL Header Notice in each file \
and include + ~ the License file at legal/CDDLv1.0.txt. If applicable, add the \
following below the CDDL + ~ Header, with the fields enclosed by brackets [] \
replaced by your own identifying + ~ information: "Portions copyright [year] \
[name of copyright owner]". + ~
+ ~ Copyright 2015 ForgeRock AS.
+--%>
+
+<%@page info="CreateSoapSTSDeployment" \
contentType="text/html;charset=UTF-8" language="java" %> \
+<%@page import="org.owasp.esapi.ESAPI" %> +<%@taglib \
uri="/WEB-INF/jato.tld" prefix="jato" %> +<%@taglib \
uri="/WEB-INF/cc.tld" prefix="cc" %> +<%@taglib \
tagdir="/WEB-INF/tags" prefix="console"%> +<%
+ request.setCharacterEncoding("UTF-8");
+%>
+
+<jato:useViewBean
+ className="com.sun.identity.console.task.ConfigureSocialAuthNViewBean"
+ fireChildDisplayEvents="true" >
+
+ <cc:i18nbundle baseName="amConsole" id="amConsole"
+ locale="<%=((com.sun.identity.console.base.AMViewBeanBase)viewBean).getUserLocale()%>"/>
+
+ <cc:header name="hdrCommon" pageTitle="webconsole.title" \
bundleID="amConsole" copyrightYear="2014" \
fireDisplayEvents="true"> +
+ <link rel="stylesheet" type="text/css" \
href="../console/css/openam.css" /> + <script \
language="javascript" \
src="../console/js/am.js"></script> + <script \
language="javascript" \
src="../com_sun_web_ui/js/dynamic.js"></script> +
+ <div id="main" style="position: absolute; margin: 0; border: \
none; padding: 0; width: 100%; height: 101%;"> + <cc:form \
name="CreateSoapSTSDeployment" 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()%>"/>
+
+ <table border="0" cellpadding="10" \
cellspacing="0" width="100%"> + <tr>
+ <td>
+ <cc:alertinline name="ialertCommon" \
bundleID="amConsole" /> + </td>
+ </tr>
+ </table>
+
+ <%-- PAGE CONTENT --%>
+ <cc:pagetitle name="pgtitle"
+ bundleID="amConsole"
+ \
pageTitleText="page.title.configure.social.authentication" + \
showPageTitleSeparator="false" + \
viewMenuLabel="" + \
pageTitleHelpMessage="page.desc.configure.social.authentication" + \
showPageButtonsTop="true" + \
showPageButtonsBottom="false" > +
+ <cc:propertysheet
+ name="propertyAttributes"
+ bundleID="amConsole"
+ showJumpLinks="false" />
+ </cc:pagetitle>
+
+ </cc:form>
+ </div>
+ <div id="dlg" class="dvs"></div>
+ <script type="text/javascript">
+ <!--
+ var ajaxObj = getXmlHttpRequestObject();
+ var userLocale = "<%= viewBean.getUserLocale().toString() %>";
+ var msgConfiguring = "<p><img \
src=\"../console/images/processing.gif\" width=\"66\" \
height\"66\"/></p><cc:text name="txtConfiguring" \
defaultValue="social.configuration.waiting" bundleID="amConsole" \
escape="false" />"; + var msgConfigured = \
"<p>&nbsp;</p><input name=\"btnOK\" \
type=\"submit\" class=\"Btn1\" value=\"<cc:text \
name="txtOKBtn" defaultValue="ajax.ok.button" \
bundleID="amConsole" />\" onClick=\"redirectToXui();return \
false;\" /></div></p>"; + var closeBtn = \
"<p>&nbsp;</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['CreateSoapSTSDeployment'];
+ var btn1 = frm.elements['CreateSoapSTSDeployment.button1'];
+ btn1.onclick = submitPage;
+ var btn2 = frm.elements['CreateSoapSTSDeployment.button2'];
+ btn2.onclick = cancelOp;
+ <%
+ String type = request.getParameter("type");
+ if (!ESAPI.validator().isValidInput("Social AuthN Type", type, \
"HTTPParameterValue", 2000, true)) { + type = null;
+ }
+ if (type != null) {
+ out.println("var type = \"" + \
ESAPI.encoder().encodeForHTML(type) + "\";"); + } else {
+ out.println("var type = null;");
+ }
+ %>
+
+ function submitPage() {
+ fade();
+ document.getElementById('dlg').innerHTML = '<center>' + msgConfiguring \
+ '</center>'; + var url = "../console/ajax/AjaxProxy.jsp";
+ var params = 'locale=' + userLocale + \
'&class=com.sun.identity.workflow.CreateSoapSTSDeployment' + getData(); + \
ajaxPost(ajaxObj, url, params, configured); + return false;
+ }
+
+ function cancelOp() {
+ redirectToXui();
+ return false;
+ }
+
+ function getData() {
+ var realm = frm.elements['CreateSoapSTSDeployment.tfRealm'].value;
+ var clientId = frm.elements['CreateSoapSTSDeployment.tfClientId'].value;
+ var clientSecret = \
frm.elements['CreateSoapSTSDeployment.tfClientSecret'].value; + var \
clientSecretConfirm = frm.elements['CreateSoapSTSDeployment.tfConfirmSecret'].value; \
+ var redirectUrl = \
frm.elements['CreateSoapSTSDeployment.tfRedirectUrl'].value; +
+ var params = "&realm=" + escapeEx(realm)
+ + "&type=" + escapeEx(type)
+ + "&clientId=" + escapeEx(clientId)
+ + "&clientSecret=" + escapeEx(clientSecret)
+ + "&clientSecretConfirm=" + \
escapeEx(clientSecretConfirm) + + "&redirectUrl=" + \
escapeEx(redirectUrl); +
+ if (frm.elements['CreateSoapSTSDeployment.tfDiscoveryUrl']) {
+ var discoveryUrl = \
frm.elements['CreateSoapSTSDeployment.tfDiscoveryUrl'].value; + var imageUrl \
= frm.elements['CreateSoapSTSDeployment.tfImageUrl'].value; + var \
providerName = frm.elements['CreateSoapSTSDeployment.tfProviderName'].value; +
+ params += "&discoveryUrl=" + escapeEx(discoveryUrl)
+ + "&imageUrl=" + escapeEx(imageUrl)
+ + "&providerName=" + escapeEx(providerName);
+ }
+
+ return params;
+ }
+
+ function configured() {
+ if (ajaxObj.readyState == 4) {
+ var result = hexToString(ajaxObj.responseText);
+ var status = result.substring(0, result.indexOf('|'));
+ var result = result.substring(result.indexOf('|') + 1);
+ var msg = '<center><p>' + result + \
'</p></center>'; + if (status == 0) {
+ msg = msg + '<center>' + msgConfigured + '</center>';
+ } else {
+ msg = msg + '<center>' + closeBtn + '</center>';
+ }
+ document.getElementById('dlg').innerHTML = msg;
+ }
+ }
+
+ -->
+ </script>
+ <%-- END CONTENT --%>
+ <console:redirectToXui \
realm="encodeURIComponent(frm.elements['CreateSoapSTSDeployment.tfRealm'].value)"
+ xuiPath="../XUI#realms/{realm}/dashboard"/>
+
+ </cc:header>
+</jato:useViewBean>
</ins></span></pre></div>
<a id="branchessts_soap_installopenamfederationOpenFMsrcmainjavacomsunidentityworkflowCreateSoapSTSDeploymentjava"></a>
<div class="addfile"><h4>Added: \
branches/sts_soap_install/openam-federation/OpenFM/src/main/java/com/sun/identity/workflow/CreateSoapSTSDeployment.java \
(0 => 14920)</h4> <pre class="diff"><span>
<span class="info">--- \
branches/sts_soap_install/openam-federation/OpenFM/src/main/java/com/sun/identity/workflow/CreateSoapSTSDeployment.java \
(rev 0)
+++ branches/sts_soap_install/openam-federation/OpenFM/src/main/java/com/sun/identity/workflow/CreateSoapSTSDeployment.java 2015-07-31 \
22:04:57 UTC (rev 14920) </span><span class="lines">@@ -0,0 +1,60 @@
</span><ins>+/*
+ * The contents of this file are subject to the terms of the Common Development and
+ * Distribution License (the License). You may not use this file except in \
compliance with the + * License.
+ *
+ * You can obtain a copy of the License at legal/CDDLv1.0.txt. See the License for \
the + * specific language governing permission and limitations under the License.
+ *
+ * When distributing Covered Software, include this CDDL Header Notice in each file \
and include + * the License file at legal/CDDLv1.0.txt. If applicable, add the \
following below the CDDL + * Header, with the fields enclosed by brackets [] replaced \
by your own identifying + * information: "Portions copyright [year] [name of \
copyright owner]". + *
+ * Copyright 2015 ForgeRock AS.
+ */
+
+package com.sun.identity.workflow;
+
+import java.util.Locale;
+import java.util.Map;
+
+/**
+ * This class is responsible for creating the soap-sts .war file which will expose \
soap-sts instances published to + * a given realm. As such, it has a correspondence \
to the SoapSTS Agent created in a given realm. + *
+ * This class will create a .war file, based off of the .war file generated by the \
openam-sts/openam-soap-sts/openam-soap-sts-server + * module. This class will \
customize this .war file in the following way: + * 1. modify the config.properties \
file contained in the .war WEB-INF/classes directory to: + * a. specify the \
user-entered soap-sts-agent username as the value corresponding to the \
soap_sts_agent_username property + * b. specify the encrypted soap-sts-agent \
password as the value corresponding to the soap_sts_agent_password property + * \
TODO: what is the encryption scheme - seems like the only viable possibility is to \
employ the same scheme used by web agents + * c. specify the cookie name for \
this OpenAM deployment as the value corresponding to the am_session_cookie_name \
property + * d. specify the realm for this soap-sts deployment as the value \
corresponding to the am_realm property + * e. specify the url for the OpenAM \
deployment as the value corresponding to the am_deployment_url property + * 2. \
include any user-specified custom wsdl files in the WEB-INF/classes directory + * 3. \
include the keystore file(s) referenced in the Soap Keystore Configuration section of \
any soap-sts instances published + * to this realm in the WEB-INF/classes directory. \
The Soap Keystore Configuration entries describe the keystore location, + * aliases, \
and passwords necessary to enforce the SecurityPolicy binding specified in the wsdl \
files referenced in the + * soap-sts instances published in a given realm. Note that \
that the CXF runtime can reference keystore locations on the + * filesystem, as well \
as the classpath, so it is not mandatory that a keystore file be included in the .war \
file. In addition, + * for soap-sts instances protected by OpenAM session tokens \
protected by the transport binding, no keystore state is necessary. + *
+ * Note that the first thought would be to modify the openam-soap-sts-server .war \
file bundled in the OpenAM .war file + * (were the OpenAM build modified to effect \
said bundling), yet such an approach would prevent the creation of a + * soap-sts \
.war file with soap-sts bits modified post-13 release. In other words, it would be \
best if this class could + * create a soap-sts-agent-specific .war file based on \
soap-sts bits modified after the 13 release. Because there is no + * generic file \
upload/download functionality in OpenAM, and because keystore files must be included \
in the soap-sts .war file, there + * seems to be no other choice than to source .war \
file constituents from the filesystem, this despite the desire to + * remove \
filesystem dependencies to support cloud deployments. Given the need to source .war \
file constituents from the + * filesystem, it makes sense to also source the \
openam-soap-sts-server .war file from the filesystem, rather than from + * the OpenAM \
.war file, in order that this common-task may create .war files containing post-13 \
release soap-sts bits. + * Thus this class will write the customized .war file to the \
filesystem, just as the CreateFedlet common task does, but + * also source keystores, \
custom .wsdl files, and the openam-soap-sts-server .war file from the filesystem. + \
*/ +public class CreateSoapSTSDeployment extends Task {
+ @Override
+ public String execute(Locale locale, Map mapParams) throws WorkflowException {
+ return null;
+ }
+}
</ins></span></pre></div>
<a id="branchessts_soap_installopenamfederationOpenFMsrcmainresourcescomsunidentityconsolepropertyCreateSoapSTSDeploymentxml"></a>
<div class="addfile"><h4>Added: \
branches/sts_soap_install/openam-federation/OpenFM/src/main/resources/com/sun/identity/console/propertyCreateSoapSTSDeployment.xml \
(0 => 14920)</h4> <pre class="diff"><span>
<span class="info">--- \
branches/sts_soap_install/openam-federation/OpenFM/src/main/resources/com/sun/identity/console/propertyCreateSoapSTSDeployment.xml \
(rev 0)
+++ branches/sts_soap_install/openam-federation/OpenFM/src/main/resources/com/sun/identity/console/propertyCreateSoapSTSDeployment.xml 2015-07-31 \
22:04:57 UTC (rev 14920) </span><span class="lines">@@ -0,0 +1,93 @@
</span><ins>+<!--
+ ~ The contents of this file are subject to the terms of the Common Development and
+ ~ Distribution License (the License). You may not use this file except in \
compliance with the + ~ License.
+ ~
+ ~ You can obtain a copy of the License at legal/CDDLv1.0.txt. See the License for \
the + ~ specific language governing permission and limitations under the License.
+ ~
+ ~ When distributing Covered Software, include this CDDL Header Notice in each file \
and include + ~ the License file at legal/CDDLv1.0.txt. If applicable, add the \
following below the CDDL + ~ Header, with the fields enclosed by brackets [] \
replaced by your own identifying + ~ information: "Portions copyright [year] \
[name of copyright owner]". + ~
+ ~ Copyright 2015 ForgeRock AS.
+ -->
+
+<!DOCTYPE propertysheet SYSTEM "propertysheet.dtd">
+
+<propertysheet>
+ <section name="realm" \
defaultValue="create.soap.sts.deployment.section.realm"> + \
<property required="true"> + <label \
name="lblRealm" \
defaultValue="create.soap.sts.deployment.label.realm" \
labelFor="tfRealm" /> + <cc name="tfRealm" \
tagclass="com.sun.web.ui.taglib.html.CCDropDownMenuTag"> + \
</cc> + </property>
+ </section>
+ <section name="provider" \
defaultValue="create.soap.sts.deployment.section.provider"> + \
<property required="true"> + <label \
name="lblDiscoveryUrl" \
defaultValue="create.soap.sts.deployment.label.discovery.url" + \
labelFor="tfDiscoveryUrl" /> + <cc \
name="tfDiscoveryUrl" \
tagclass="com.sun.web.ui.taglib.html.CCTextFieldTag"> + \
<attribute name="localizeDisplayFieldValue" value="false" \
/> + <attribute name="size" value="75" />
+ </cc>
+ <fieldhelp name="helpDiscoveryUrl" \
defaultValue="create.soap.sts.deployment.discovery.url.help.txt"/> + \
</property> + <property required="true">
+ <label name="lblProviderName" \
defaultValue="create.soap.sts.deployment.label.provider.name" + \
labelFor="tfProviderName" /> + <cc \
name="tfProviderName" \
tagclass="com.sun.web.ui.taglib.html.CCTextFieldTag"> + \
<attribute name="localizeDisplayFieldValue" value="false" \
/> + <attribute name="size" value="75" />
+ </cc>
+ <fieldhelp name="helpProviderName" \
defaultValue="create.soap.sts.deployment.provider.name.help.txt"/> + \
</property> + <property required="true">
+ <label name="lblImageUrl" \
defaultValue="create.soap.sts.deployment.label.image.url" + \
labelFor="tfImageUrl" /> + <cc name="tfImageUrl" \
tagclass="com.sun.web.ui.taglib.html.CCTextFieldTag"> + \
<attribute name="localizeDisplayFieldValue" value="false" \
/> + <attribute name="size" value="75" />
+ </cc>
+ <fieldhelp name="helpImageUrl" \
defaultValue="create.soap.sts.deployment.image.url.help.txt"/> + \
</property> + </section>
+ <section name="socialAuth" \
defaultValue="create.soap.sts.deployment.section.setup"> + \
<property required="true"> + <label \
name="lblClientId" \
defaultValue="create.soap.sts.deployment.label.client.id" + \
labelFor="tfClientId" /> + <cc name="tfClientId" \
tagclass="com.sun.web.ui.taglib.html.CCTextFieldTag"> + \
<attribute name="localizeDisplayFieldValue" value="false" \
/> + <attribute name="size" value="75" />
+ </cc>
+ <fieldhelp name="helpClientId" \
defaultValue="create.soap.sts.deployment.client.id.help.txt"/> + \
</property> + <property required="true">
+ <label name="lblClientSecret" \
defaultValue="create.soap.sts.deployment.label.client.secret" + \
labelFor="tfClientSecret" /> + <cc \
name="tfClientSecret" \
tagclass="com.sun.web.ui.taglib.html.CCPasswordTag"> + \
<attribute name="localizeDisplayFieldValue" value="false" \
/> + <attribute name="size" value="75" />
+ </cc>
+ <fieldhelp name="helpClientSecret" \
defaultValue="create.soap.sts.deployment.client.secret.help.txt"/> + \
</property> + <property required="true">
+ <label name="lblConfirmSecret" \
defaultValue="create.soap.sts.deployment.label.confirm.secret" + \
labelFor="tfConfirmSecret" /> + <cc \
name="tfConfirmSecret" \
tagclass="com.sun.web.ui.taglib.html.CCPasswordTag"> + \
<attribute name="localizeDisplayFieldValue" value="false" \
/> + <attribute name="size" value="75" />
+ </cc>
+ </property>
+ <property required="true">
+ <label name="lblRedirectUrl" \
defaultValue="create.soap.sts.deployment.label.redirect.url" + \
labelFor="tfRedirectUrl" /> + <cc \
name="tfRedirectUrl" \
tagclass="com.sun.web.ui.taglib.html.CCTextFieldTag"> + \
<attribute name="localizeDisplayFieldValue" value="false" \
/> + <attribute name="size" value="75" />
+ </cc>
+ <fieldhelp name="helpRedirectUrl" \
defaultValue="create.soap.sts.deployment.redirect.url.help.txt"/> + \
</property> + </section>
+</propertysheet>
</ins></span></pre>
</div>
</div>
<div id="footer">Copyright (c) by ForgeRock. All rights reserved.</div>
</body>
</html>
_______________________________________________
CommitOpenAM mailing list
CommitOpenAM@forgerock.org
https://lists.forgerock.org/mailman/listinfo/commitopenam
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic