Sample HP OO Web Application
|
|
|
- Isabel Goodwin
- 9 years ago
- Views:
Transcription
1 HP OO 10 OnBoarding Kit Community Assitstance Team Sample HP OO Web Application HP OO 10.x Central s rich API enables easy integration of the different parts of HP OO Central into custom web applications. This guide looks at some common integration use cases that use the APIs and it includes JSP code examples. Our goal is that this guide, together with the official API Guide, will enable you to quickly incorporate HP OO into your own web applications. Overview This guide provides a review and demonstration of the following features and related APIs: Getting the list of flows a user can run Getting detailed information about a flow, such as description, path, and inputs Running a flow Checking a flow run status List historic flow runs HP Operations Orchestration HP Operations Orchestration (HP OO) is a next generation IT Process Automation solution that is designed from the ground up to increase automation adoption whether in a traditional data center or hybrid cloud environment. OO 10 Community Onboarding Kit This tutorial is part of the onboarding kit created for the OO community in order to make it even faster to learn OO 10. It is both for new OO 10 users, but also for existing OO 9 users who want to know what s new. The kit contains four persona based learning tracks for administrators, flow authors, end users, and integrators. Each track provides knowledge assets of the following types: Best Practices Videos Tutorials Quick Guides Presentations Links to Manuals This guide comes with a basic web application, which illustrates the use of the different API calls we did not focus on UX. The example web application presents a login form. The credentials in the form are used to connect to HP OO. Note If your goal is simply to be able to run a specific flow (known in advance) from your UI and get the result, you can achieve this easily. Simply copy the link to the flow from Central, and put it in an iframe tag in your HTML page without additional coding. It should look similar to the following example: <iframe width="1200" height=300 src=" f459-4bfe-8b98-08b4b4c4a8ce"></iframe> More details are available in the HP OO Central User Guide.
2 Logging In The loginform.jsp file contains an HTML form, which gets user name and password values, which are passed to the index.jsp screen: The corresponding JSP code is as follows: 1. page contenttype="text/html;charset=utf-8" language="java" %> 2. <html> 3. <head> 4. <meta http-equiv="content-type" content="text/html; charset=utf-8"> 5. <title>sample OO Web Application</title> 6. </head> 7. <body> 8. Sample OO Web Application<br><br> 9. <strong>login Details</strong> 10. <form action="index.jsp" method="post"> 11. <table border=0> 12. <tr><td>username:</td><td><input type="text" name="username" style="width:150px"></td></tr> 13. <tr><td>password:</td><td><input type="password" name="password" style="width:150px"></td></tr> 14. <tr><td colspan=2><input type="submit" value="submit"></td></tr> 15. </table> 16. </form> 17. </body> 18. </html>
3 Getting the List of Flows We logged in as user1, who is entitled to run specific flows, as you can see in the following screenshot of the index.jsp file: Before looking at the code behind the page, let s make a few observations: The printnextlevel function in line 76 is used to recursively retrieve all the tree items and displays only the relevant flows: In Line 45, we enable authentication (this client supports Basic Authentication only). In line 46, the function uses a REST API call in order to retrieve a list of content items (flows, folders, operations). Each item in the list (treeitemvolist) includes the following: ID: the item s UUID Name: the item s name Path: the full path to the item, including the item name isleaf: an indication if the item is not a folder isrunnable: an indication if the item is a flow, runnable by the current user In line 52, for each received result, it checks if the result is a folder. If the result is a folder, it calls recursively to itself in order to bring its child nodes. If it is a runnable flow, it prints it name out and creates a hyperlink to the flow details page. When an unauthenticated user accesses the index.jsp, the code in line 71 redirects the user to loginform.jsp. Line 79 redirects the user back to the loginform.jsp in the case of authentication failure. The entire code listing follows below: 1. <%@ page import="sample_portal.oohttpclienttemplate" %> 2. <%@ page import="org.apache.http.httpresponse" %> 3. <%@ page import="org.codehaus.jackson.map.objectmapper" %> 4. <%@ page import="java.util.list" %> 5. <%@ page import="org.codehaus.jackson.type.typereference" %> 6. <%@ page import="com.hp.oo.flowslibrary.client.domain.treeitemvo" %> 7. <%@ page import="java.io.ioexception" %> 8. <%@ page import="java.io.printstream" %> 9. <%@ page import="java.io.printwriter" %> 10. <%@ page import="java.net.urlencoder" %>
4 11. page import="com.hp.oo.flowinputs.client.domain.flowinputvo" %> 12. page import="java.util.set" %> 13. page import="java.util.collections" %> 14. page import="java.util.properties" %> 15. page import="java.io.fileinputstream" %> 16. page import="org.apache.http.auth.authenticationexception" %> 17. <% Created by IntelliJ IDEA. 19. User: eskin 20. Date: 29/12/ Time: 10: To change this template use File Settings File Templates %> 24. page contenttype="text/html;charset=utf-8" language="java" %> 25. <% 26. Object username, password; 27. Properties properties = new Properties(); 28. properties.load(oohttpclienttemplate.class.getresourceasstream("sample_portal.properties")); 29. username = request.getparameter("username"); 30. password = request.getparameter("password"); 31. if(username!= null) { 32. session.setattribute("username", username); 33. session.setattribute("password", password); 34. } 35. else { 36. username = session.getattribute("username"); 37. password = session.getattribute("password"); 38. } 39. %> <%! 42. public void printnextlevel(string rootpath, javax.servlet.jsp.jspwriter out, String username, String password) throws Exception { 43. ObjectMapper mapper = new ObjectMapper(); 44. OOHttpClientTemplate ooclient = new OOHttpClientTemplate(); 45. ooclient.setbasicauthentication(true); 46. HttpResponse resp = ooclient.get(username, password, "/oo/rest/flows/tree/level?path=" + URLEncoder.encode(rootPath)); 47. if(resp.getstatusline().getstatuscode() == 401) { 48. throw new AuthenticationException(); 49. } 50. List<TreeItemVO> treeitemvolist = mapper.readvalue(resp.getentity().getcontent(), new TypeReference<List<TreeItemVO>>() {
5 51. }); 52. for(treeitemvo vo : treeitemvolist) { 53. if(!vo.isleaf()) { 54. printnextlevel(vo.getpath(), out, username, password); 55. } 56. else if(vo.isrunnable()) { 57. out.print("<li><a href=\"flowdetails.jsp?id=" + vo.getid() + "&name=" + URLEncoder.encode(vo.getName()) + "\">" + vo.getname() + "</a></li>"); 58. } 59. } 60. } 61. %> 62. <html> 63. <head> 64. <title>sample OO Web Application</title> 65. </head> 66. <body> 67. Welcome to Sample OO Web Application, <%=username%>!<br> 68. <b>flows:</b><br> 69. <ul> 70. <% 71. if(username == null) { 72. response.sendredirect("loginform.jsp"); 73. } 74. else { 75. try { 76. printnextlevel("library", out, (String)username, (String)password); 77. } 78. catch(authenticationexception ae) { 79. response.sendredirect("loginform.jsp"); 80. } 81. } 82. %> 83. </ul> 84. <br><a href="runhistory.jsp">view run history</a> 85. </body> 86. </html> public void printnextlevel(string rootpath, javax.servlet.jsp.jspwriter out, String username, String password) throws Exception { 87. ObjectMapper mapper = new ObjectMapper(); 88. OOHttpClientTemplate ooclient = new OOHttpClientTemplate(); 89. ooclient.setbasicauthentication(true); 90. HttpResponse resp = ooclient.get(username, password, "/oo/rest/flows/tree/level?path=" + URLEncoder.encode(rootPath));
6 91. if(resp.getstatusline().getstatuscode() == 401) { 92. throw new AuthenticationException(); 93. } 94. List<TreeItemVO> treeitemvolist = mapper.readvalue(resp.getentity().getcontent(), new TypeReference<List<TreeItemVO>>() { 95. }); 96. for(treeitemvo vo : treeitemvolist) { 97. if(!vo.isleaf()) { 98. printnextlevel(vo.getpath(), out, username, password); 99. } 100. else if(vo.isrunnable()) { 101. out.print("<li><a href=\"flowdetails.jsp?id=" + vo.getid() + "&name=" + URLEncoder.encode(vo.getName()) + "\">" + vo.getname() + "</a></li>"); 102. } 103. } 104. } 105. %> 106. <html> 107. <head> 108. <title>sample OO Web Application</title> 109. </head> 110. <body> 111. Welcome to Sample OO Web Application, <%=username%>!<br> 112. <b>flows:</b><br> 113. <ul> 114. <% 115. if(username == null) { 116. response.sendredirect("loginform.jsp"); 117. } 118. else { 119. try { 120. printnextlevel("library", out, (String)username, (String)password); 121. } 122. catch(authenticationexception ae) { 123. response.sendredirect("loginform.jsp"); 124. } 125. } 126. %> 127. </ul> 128. <br><a href="runhistory.jsp">view run history</a> 129. </body> 130. </html>
7 Running a Flow This section is divided into two tasks: 1. Getting the flow input details (demonstrated in the flowdetails.jsp file). 2. Running the flow (demonstrated in the runflow.jsp file). Task 1: Getting the flow input details The following HTML form is built by the flowdetails.jsp file: The following overview explains the code behind the screen: In line 24, the getflowproperties function is called. The function (lines ) uses the REST API to retrieve flow properties including path and description. In line 30, a hidden input containing the flow UUID is created. In line 31, an input text field for the run name is created. By default it is populated with the flow name. In line 37, we use the REST API to get the list of inputs for the specific flow. In lines 41-56, a loop goes through each input returned by the REST API, checks if it is a selection list or text, and displays the suitable HTML form input. The next lines check if the input is mandatory, and if it is obfuscated. Clicking the Submit button (see Line 83) calls runflow.jsp, which is explained in the next section. 1. <%@ page import="sample_portal.oohttpclienttemplate" %> 2. <%@ page import="org.apache.http.httpresponse" %> 3. <%@ page import="com.hp.oo.flowinputs.client.domain.flowinputvo" %> 4. <%@ page import="java.util.list" %> 5. <%@ page import="org.codehaus.jackson.map.objectmapper" %> 6. <%@ page import="org.codehaus.jackson.type.typereference" %> 7. <%@ page import="java.io.ioexception" %> 8. <%@ page import="com.hp.oo.flowslibrary.client.domain.flowpropertiesvo" %>
8 9. <% Created by IntelliJ IDEA. 11. User: eskin 12. Date: 30/12/ Time: 11: To change this template use File Settings File Templates %> 16. page contenttype="text/html;charset=utf-8" language="java" %> 17. <html> 18. <head> 19. <title>sample OO Web Application</title> 20. </head> 21. <body> 22. <strong>flow:</strong> <%=request.getparameter("name")%><br><br> 23. <% 24. FlowPropertiesVO flowpropertiesvo = getflowproperties((string) session.getattribute("username"), (String) session.getattribute("password"), request.getparameter("id")); 25. %> 26. <strong>uuid:</strong><%=flowpropertiesvo.getid()%><br><br> 27. <strong>description:</strong><br><textarea rows=4 cols=50 contenteditable="false"><%=flowpropertiesvo.getdescription()%></textarea><br><br> 28. <strong>path:</strong><%=flowpropertiesvo.getpath()%> 29. <form action="runflow.jsp"> 30. <input type="hidden" name="flow_uuid" value="<%=request.getparameter("id")%>"/> 31. <strong>run name:</strong> <input type="text" name="run_name" value="<%=request.getparameter("name")%>"><br><br> 32. <strong>inputs:</strong><br> 33. <table border="0"> 34. <% 35. OOHttpClientTemplate ooclient = new OOHttpClientTemplate(); 36. ooclient.setbasicauthentication(true); 37. HttpResponse resp = ooclient.get((string)session.getattribute("username"), (String)session.getAttribute("password"), "/oo/rest/flows/" + request.getparameter("id") + "/inputs"); 38. List<FlowInputVO> flowinputvolist = new ObjectMapper().readValue(resp.getEntity().getContent(), new TypeReference<List<FlowInputVO>>() { 39. }); 40. if(!flowinputvolist.isempty()) { 41. for(flowinputvo vo : flowinputvolist) { 42. %> <tr><td><%=vo.getname()%>:</td> 43. <% 44. if(vo.gettype().equals("selectionlist") &&!vo.getsources().isempty()) { 45. %> 46. <td><select name="<%=vo.getname()%>" <% if(vo.ismultivalue()) { %> multiple <% } %>>
9 47. <% 48. for(string option : vo.getsources()) { 49. %> 50. <option value="<%=option%>"><%=option%></option> 51. <% 52. } 53. %> 54. </select> 55. <% 56. } 57. else if (vo.isencrypted()){ 58. %> 59. <td><input type="password" name="<%=vo.getname()%>"/> 60. <% 61. } 62. else { 63. %> 64. <td><input type="text" name="<%=vo.getname()%>"/> 65. <% 66. } if(vo.ismandatory()) { 69. %> 70. * 71. <% 72. } 73. %> 74. </td></tr> 75. <% 76. } //end inputs loop 77. } else { 78. %> 79. <tr><td colspan="2">this flow has no inputs</td></tr> 80. <% 81. } 82. %> <tr><td colspan="2"> 83. <input type="submit" value="run"/></td> 84. </tr> 85. </table> 86. </form> 87. </body> 88. </html>
10 89. <%! 90. private FlowPropertiesVO getflowproperties(string username, String password, String uuid) throws Exception { 91. OOHttpClientTemplate ooclient = new OOHttpClientTemplate(); 92. ooclient.setbasicauthentication(true); 93. HttpResponse resp = ooclient.get(username, password, "/oo/rest/flows/" + uuid); 94. FlowPropertiesVO flowpropertiesvo = new ObjectMapper().readValue(resp.getEntity().getContent(), new TypeReference<FlowPropertiesVO>(){ 95. }); 96. return flowpropertiesvo; //To change body of created methods use File Settings File Templates. 97. } 98. %> Task 2: Running the Flow Let s review the code behind the following screenshot of the runflow.jsp page: Before listing the entire code, we make the following observations: In Line 25, a REST call runs the flow with the inputs provided in flowdetails.jsp In line 27, the response status is checked. If the status is created, a success message is displayed with the run id, retrieved from the response of the REST call, and two hyperlinks are displayed: 1. View run status. This URL is built by getrunstatusurl in line 42 (see the next section for details). 2. View run history. This link is built in line 31 and redirects to runhistory.jsp with the corresponding run id. Else, an error message is displayed. Full code listing: 1. <%@ page import="com.hp.oo.flowtriggering.client.domain.flowtriggeringresultvo" %> 2. <%@ page import="org.apache.http.httpresponse" %> 3. <%@ page import="org.apache.http.httpstatus" %> 4. <%@ page import="org.codehaus.jackson.map.objectmapper" %> 5. <%@ page import="org.codehaus.jackson.type.typereference" %>
11 6. page import="sample_portal.executeflowcallback" %> 7. page import="sample_portal.oohttpclienttemplate" %> 8. page import="java.net.urlencoder" %> 9. <% Created by IntelliJ IDEA. 11. User: eskin 12. Date: 30/12/ Time: 14: To change this template use File Settings File Templates %> 16. page contenttype="text/html;charset=utf-8" language="java" %> 17. <html> 18. <head> 19. <title>sample OO Web Application</title> 20. </head> 21. <body> 22. <% 23. OOHttpClientTemplate ooclient = new OOHttpClientTemplate(); 24. ooclient.setbasicauthentication(true); 25. HttpResponse resp = ooclient.post((string)session.getattribute("username"), (String)session.getAttribute("password"), "/oo/rest/executions", new ExecuteFlowCallback(request)); 26. FlowTriggeringResultVo flowtriggeringresultvo = new ObjectMapper().readValue(resp.getEntity().getContent(), new TypeReference<FlowTriggeringResultVo>(){}); 27. if(resp.getstatusline().getstatuscode() == HttpStatus.SC_CREATED) { 28. %> 29. Run <%=request.getparameter("run_name")%> launched.<br> Run ID: <%=flowtriggeringresultvo.getexecutionid()%> 30. <br><a href='<%=getrunstatusurl(ooclient, flowtriggeringresultvo.getexecutionid())%>'>view run status</a> 31. <br><a href='runhistory.jsp?id=<%=flowtriggeringresultvo.getexecutionid()%>'>view run history</a> 32. <% 33. } else { 34. %> 35. Run <%=request.getparameter("run_name")%> was not launched 36. <% 37. } 38. %> 39. </body> 40. </html> 41. <%! 42. private String getrunstatusurl(oohttpclienttemplate ooclient, String runid ) { 43. StringBuilder strb = new StringBuilder(); 44. strb.append(ooclient.geturlprotocol()).append("://").append(ooclient.gethost()).append(":").
12 45. append(ooclient.getport()).append("/oo/drilldown.html#").append(runid); 46. return strb.tostring(); //To change body of created methods use File Settings File Templates. 47. } 48. %> Checking Flow Status This option utilizes the direct link to the drilldown.html of the Central web application, with the corresponding run id. This HP OO screen can be used by any application that has the run id and can construct the link (for example, send the link by ). Note: This page does not allow adding step input values. Showing Run History The run history screen presents all the runs that have been started by the user:
13 Before listing the entire code, we make the following observations: In line 48, the executions REST call is used to receive the latest 100 runs. In lines 62-75, each run that is triggered by the logged in user is inserted as a new row in an HTML table. Full code listing: 1. <%@ page import="sample_portal.oohttpclienttemplate" %> 2. <%@ page import="org.apache.http.httpresponse" %> 3. <%@ page import="org.apache.commons.io.ioutils" %> 4. <%@ page import="java.util.list" %> 5. <%@ page import="org.codehaus.jackson.map.objectmapper" %> 6. <%@ page import="org.codehaus.jackson.type.typereference" %> 7. <%@ page import="com.hp.oo.enginefacade.execution.executionsummary" %> 8. <%@ page import="java.util.properties" %> 9. <% Created by IntelliJ IDEA. 11. User: eskin 12. Date: 31/12/ Time: 10: To change this template use File Settings File Templates %> 16. <%@ page contenttype="text/html;charset=utf-8" language="java" %> 17. <%! 18. private String gettablecelldata(object data, ServletRequest request, ExecutionSummary executionsummary) { 19. StringBuilder strb = new StringBuilder(); 20. strb.append("<td"); 21. if(executionsummary.getexecutionid().equals(request.getparameter("id"))) { 22. strb.append(" bgcolor=yellow"); 23. } 24. strb.append(">"); 25. if(data!= null) { 26. strb.append(data.tostring()); 27. } 28. else { 29. strb.append("none"); 30. } 31. strb.append("</td>"); 32. return strb.tostring(); 33. } 34. %> 35. <html> 36. <head> 37. <title></title>
14 38. </head> 39. <body> 40. <% 41. String username, password; 42. Properties properties = new Properties(); 43. properties.load(oohttpclienttemplate.class.getresourceasstream("sample_portal.properties")); 44. username = (String)session.getAttribute("username"); 45. password = (String)session.getAttribute("password"); 46. OOHttpClientTemplate ooclient = new OOHttpClientTemplate(); 47. ooclient.setbasicauthentication(true); 48. HttpResponse resp = ooclient.get(username, password, "/oo/rest/executions?date=" + System.currentTimeMillis() + "&pagenum=1&pagesize=100"); 49. List<ExecutionSummary> executionsummarylist = new ObjectMapper().readValue(resp.getEntity().getContent(), new TypeReference<List<ExecutionSummary>>(){}); 50. %> 51. <strong>latest runs by user <%=username%>:<br><br></strong> 52. <table border=0> 53. <tr> 54. <th>id</th> 55. <th>name</th> 56. <th>start Time</th> 57. <th>end Time</th> 58. <th>status</th> 59. <th>flow Path</th> 60. </tr> 61. <% 62. for(executionsummary executionsummary : executionsummarylist) { 63. if(executionsummary.gettriggeredby().equals(username)) { 64. %> 65. <tr> 66. <%=gettablecelldata(executionsummary.getexecutionid(), request, executionsummary)%> 67. <%=gettablecelldata(executionsummary.getexecutionname(), request, executionsummary)%> 68. <%=gettablecelldata(executionsummary.getstarttime(), request, executionsummary)%> 69. <%=gettablecelldata(executionsummary.getendtime(), request, executionsummary)%> 70. <%=gettablecelldata(executionsummary.getstatus(), request, executionsummary)%> 71. <%=gettablecelldata(executionsummary.getflowpath(), request, executionsummary)%> 72. </tr> 73. <% 74. } 75. } 76. %> 77. </table></body></html>
15 Dependencies This sample code needs the following jars: 1. From <OO installation folder>/central/lib: commons-lang-2.6.jar commons-codec-1.6.jar commons-io-2.3.jar commons-logging jar http-client jar http-core jar jackson-core-asl jar jackson-mapper-asl jar 2. From <OO installation folder>/central/tomcat/webapps/oo/web-inf/lib: oo-engine-facade jar oo-flow-inputs-api jar oo-flows-library-api jar oo-flow-triggering-api jar 3. From the global maven repository: Running the Example Web Application 1. Download Tomcat. 2. Copy the sample_oo_webapp.war file to the webapps folder. 3. In order to deploy the application, open a command line window and go to <Tomcat installation folder>\bin. Run the following command: catalina.bat start 4. After the application is up, close it. 5. Edit the sample_portal.properties file (located in <tomcat folder>webapps\sample_portal\web- INF\classes\sample_portal\) and set the following properties: central.host - FQDN of the Central Server central.port the port the Central server is using for HTTP/HTTPS central.protocol http or https 6. Start the application again (repeat step #3). 7. Open the following URL tomcat server you deployed the portal on>:<port>/sample_portal (for example, If you have any questions, please post them on the HP OO community forums. We are always interested in your feedback:
Configuring iplanet 6.0 Web Server For SSL and non-ssl Redirect
Introduction Configuring iplanet 6.0 Web Server For SSL and non-ssl Redirect This document describes the process for configuring an iplanet web server for the following situation: Require that clients
Further web design: HTML forms
Further web design: HTML forms Practical workbook Aims and Learning Objectives The aim of this document is to introduce HTML forms. By the end of this course you will be able to: use existing forms on
Software Development Kit (SDK)
QUICK START GUIDE UC Software 5.3.0 May 2015 3725-49126-001A Software Development Kit (SDK) Polycom, Inc. 1 Copyright 2015, Polycom, Inc. All rights reserved. No part of this document may be reproduced,
HP OO 10.X - SiteScope Monitoring Templates
HP OO Community Guides HP OO 10.X - SiteScope Monitoring Templates As with any application continuous automated monitoring is key. Monitoring is important in order to quickly identify potential issues,
Hello World RESTful web service tutorial
Hello World RESTful web service tutorial Balázs Simon ([email protected]), BME IIT, 2015 1 Introduction This document describes how to create a Hello World RESTful web service in Eclipse using JAX-RS
JWIG Yet Another Framework for Maintainable and Secure Web Applications
JWIG Yet Another Framework for Maintainable and Secure Web Applications Anders Møller Mathias Schwarz Aarhus University Brief history - Precursers 1999: Powerful template system Form field validation,
Concordion. Concordion. Tomo Popovic, tp0x45 [at] gmail.com
Concordion Tomo Popovic, tp0x45 [at] gmail.com Concordion is an open source tool for writing automated acceptance tests in Java development environment. The main advantages of Concordion are based on its
LICENSE4J AUTO LICENSE GENERATION AND ACTIVATION SERVER USER GUIDE
LICENSE4J AUTO LICENSE GENERATION AND ACTIVATION SERVER USER GUIDE VERSION 1.6.0 LICENSE4J www.license4j.com Table of Contents Getting Started... 2 Server Roles... 4 Installation... 9 Server WAR Deployment...
BizFlow 9.0 BizCoves BluePrint
BizFlow 9.0 BizCoves BluePrint HandySoft Global Corporation 1952 Gallows Road Suite 100 Vienna, VA USA 703.442.5600 www.handysoft.com 1999-2004 HANDYSOFT GLOBAL CORPORATION. ALL RIGHTS RESERVED. THIS DOCUMENTATION
Monitoring HP OO 10. Overview. Available Tools. HP OO Community Guides
HP OO Community Guides Monitoring HP OO 10 This document describes the specifications of components we want to monitor, and the means to monitor them, in order to achieve effective monitoring of HP Operations
<Insert Picture Here>
פורום BI 21.5.2013 מה בתוכנית? בוריס דהב Embedded BI Column Level,ROW LEVEL SECURITY,VPD Application Role,security טובית לייבה הפסקה OBIEE באקסליבריס נפתלי ליברמן - לימור פלדל Actionable
HP Operations Orchestration Software
HP Operations Orchestration Software Software Version: 9.00 HP Project and Portfolio Management Integration Guide Document Release Date: June 2010 Software Release Date: June 2010 Legal Notices Warranty
Contents. 2 Alfresco API Version 1.0
The Alfresco API Contents The Alfresco API... 3 How does an application do work on behalf of a user?... 4 Registering your application... 4 Authorization... 4 Refreshing an access token...7 Alfresco CMIS
Application Security
2009 Marty Hall Declarative Web Application Security Originals of Slides and Source Code for Examples: http://courses.coreservlets.com/course-materials/msajsp.html Customized Java EE Training: http://courses.coreservlets.com/
CSc 230 Software System Engineering FINAL REPORT. Project Management System. Prof.: Doan Nguyen. Submitted By: Parita Shah Ajinkya Ladkhedkar
CSc 230 Software System Engineering FINAL REPORT Project Management System Prof.: Doan Nguyen Submitted By: Parita Shah Ajinkya Ladkhedkar Spring 2015 1 Table of Content Title Page No 1. Customer Statement
NGASI AppServer Manager SaaS/ASP Hosting Automation for Cloud Computing Administrator and User Guide
NGASI AppServer Manager SaaS/ASP Hosting Automation for Cloud Computing Administrator and User Guide NGASI SaaS Hosting Automation is a JAVA SaaS Enablement infrastructure that enables web hosting services
Internet Technologies
QAFQAZ UNIVERSITY Computer Engineering Department Internet Technologies HTML Forms Dr. Abzetdin ADAMOV Chair of Computer Engineering Department [email protected] http://ce.qu.edu.az/~aadamov What are forms?
SSO Plugin. Integration for BMC MyIT and SmartIT. J System Solutions. http://www.javasystemsolutions.com Version 4.0
SSO Plugin Integration for BMC MyIT and SmartIT J System Solutions Version 4.0 JSS SSO Plugin Integration with BMC MyIT Introduction... 3 Deployment approaches... 3 SSO Plugin integration... 4 Configuring
HP Operations Orchestration Software
HP Operations Orchestration Software Software Version: 9.00 HP Business Availability Center Integration Document Release Date: June 2010 Software Release Date: June 2010 Legal Notices Warranty The only
EBOX Digital Content Management System (CMS) User Guide For Site Owners & Administrators
EBOX Digital Content Management System (CMS) User Guide For Site Owners & Administrators Version 1.0 Last Updated on 15 th October 2011 Table of Contents Introduction... 3 File Manager... 5 Site Log...
Website Login Integration
SSO Widget Website Login Integration October 2015 Table of Contents Introduction... 3 Getting Started... 5 Creating your Login Form... 5 Full code for the example (including CSS and JavaScript):... 7 2
Novell Identity Manager
AUTHORIZED DOCUMENTATION Manual Task Service Driver Implementation Guide Novell Identity Manager 4.0.1 April 15, 2011 www.novell.com Legal Notices Novell, Inc. makes no representations or warranties with
2- Forms and JavaScript Course: Developing web- based applica<ons
2- Forms and JavaScript Course: Cris*na Puente, Rafael Palacios 2010- 1 Crea*ng forms Forms An HTML form is a special section of a document which gathers the usual content plus codes, special elements
Load testing with. WAPT Cloud. Quick Start Guide
Load testing with WAPT Cloud Quick Start Guide This document describes step by step how to create a simple typical test for a web application, execute it and interpret the results. 2007-2015 SoftLogica
IBM Watson Ecosystem. Getting Started Guide
IBM Watson Ecosystem Getting Started Guide Version 1.1 July 2014 1 Table of Contents: I. Prefix Overview II. Getting Started A. Prerequisite Learning III. Watson Experience Manager A. Assign User Roles
HTML Forms and CONTROLS
HTML Forms and CONTROLS Web forms also called Fill-out Forms, let a user return information to a web server for some action. The processing of incoming data is handled by a script or program written in
Adobe Marketing Cloud Bloodhound for Mac 3.0
Adobe Marketing Cloud Bloodhound for Mac 3.0 Contents Adobe Bloodhound for Mac 3.x for OSX...3 Getting Started...4 Processing Rules Mapping...6 Enable SSL...7 View Hits...8 Save Hits into a Test...9 Compare
Using Form Tools (admin)
EUROPEAN COMMISSION DIRECTORATE-GENERAL INFORMATICS Directorate A - Corporate IT Solutions & Services Corporate Infrastructure Solutions for Information Systems (LUX) Using Form Tools (admin) Commission
Client-side Web Engineering From HTML to AJAX
Client-side Web Engineering From HTML to AJAX SWE 642, Spring 2008 Nick Duan 1 What is Client-side Engineering? The concepts, tools and techniques for creating standard web browser and browser extensions
Managing Qualys Scanners
Q1 Labs Help Build 7.0 Maintenance Release 3 [email protected] Managing Qualys Scanners Managing Qualys Scanners A QualysGuard vulnerability scanner runs on a remote web server. QRadar must access
Introduction to Source Control Management in OO 10
HP OO 10 OnBoarding Kit Community Assistance Team Introduction to Source Control Management in OO 10 HP Operations Orchestration 10 comes with an enhanced development model which is completely aligned
Direct Post Method (DPM) Developer Guide
(DPM) Developer Guide Card Not Present Transactions Authorize.Net Developer Support http://developer.authorize.net Authorize.Net LLC 2/22/11 Ver. Ver 1.1 (DPM) Developer Guide Authorize.Net LLC ( Authorize.Net
InternetVista Web scenario documentation
InternetVista Web scenario documentation Version 1.2 1 Contents 1. Change History... 3 2. Introduction to Web Scenario... 4 3. XML scenario description... 5 3.1. General scenario structure... 5 3.2. Steps
Application Interface Services Server for Mobile Enterprise Applications Configuration Guide Tools Release 9.2
[1]JD Edwards EnterpriseOne Application Interface Services Server for Mobile Enterprise Applications Configuration Guide Tools Release 9.2 E61545-01 October 2015 Describes the configuration of the Application
McAfee One Time Password
McAfee One Time Password Integration Module Outlook Web App 2010 Module version: 1.3.1 Document revision: 1.3.1 Date: Feb 12, 2014 Table of Contents Integration Module Overview... 3 Prerequisites and System
Fax User Guide 07/31/2014 USER GUIDE
Fax User Guide 07/31/2014 USER GUIDE Contents: Access Fusion Fax Service 3 Search Tab 3 View Tab 5 To E-mail From View Page 5 Send Tab 7 Recipient Info Section 7 Attachments Section 7 Preview Fax Section
API Integration Payment21 Button
API Integration Payment21 Button The purpose of this document is to describe the requirements, usage, implementation and purpose of the Payment21 Application Programming Interface (API). The API will allow
How to configure the TopCloudXL WHMCS plugin (version 2+) Update: 16-09-2015 Version: 2.2
èè How to configure the TopCloudXL WHMCS plugin (version 2+) Update: 16-09-2015 Version: 2.2 Table of Contents 1. General overview... 3 1.1. Installing the plugin... 3 1.2. Testing the plugin with the
NetBrain Security Guidance
NetBrain Security Guidance 1. User Authentication and Authorization 1.1. NetBrain Components NetBrain Enterprise Server includes five components: Customer License Server (CLS), Workspace Server (WSS),
TROUBLESHOOTING RSA ACCESS MANAGER SINGLE SIGN-ON FOR WEB-BASED APPLICATIONS
White Paper TROUBLESHOOTING RSA ACCESS MANAGER SINGLE SIGN-ON FOR WEB-BASED APPLICATIONS Abstract This white paper explains how to diagnose and troubleshoot issues in the RSA Access Manager single sign-on
Secure Messaging Server Console... 2
Secure Messaging Server Console... 2 Upgrading your PEN Server Console:... 2 Server Console Installation Guide... 2 Prerequisites:... 2 General preparation:... 2 Installing the Server Console... 2 Activating
HTML Tables. IT 3203 Introduction to Web Development
IT 3203 Introduction to Web Development Tables and Forms September 3 HTML Tables Tables are your friend: Data in rows and columns Positioning of information (But you should use style sheets for this) Slicing
Advanced Tornado TWENTYONE. 21.1 Advanced Tornado. 21.2 Accessing MySQL from Python LAB
21.1 Advanced Tornado Advanced Tornado One of the main reasons we might want to use a web framework like Tornado is that they hide a lot of the boilerplate stuff that we don t really care about, like escaping
Intell-a-Keeper Reporting System Technical Programming Guide. Tracking your Bookings without going Nuts! http://www.acorn-is.
Intell-a-Keeper Reporting System Technical Programming Guide Tracking your Bookings without going Nuts! http://www.acorn-is.com 877-ACORN-99 Step 1: Contact Marian Talbert at Acorn Internet Services at
Creating a generic user-password application profile
Chapter 4 Creating a generic user-password application profile Overview If you d like to add applications that aren t in our Samsung KNOX EMM App Catalog, you can create custom application profiles using
Using Microsoft Windows Authentication for Microsoft SQL Server Connections in Data Archive
Using Microsoft Windows Authentication for Microsoft SQL Server Connections in Data Archive 2014 Informatica Corporation. No part of this document may be reproduced or transmitted in any form, by any means
MASTERTAG DEVELOPER GUIDE
MASTERTAG DEVELOPER GUIDE TABLE OF CONTENTS 1 Introduction... 4 1.1 What is the zanox MasterTag?... 4 1.2 What is the zanox page type?... 4 2 Create a MasterTag application in the zanox Application Store...
SourceAnywhere Service Configurator can be launched from Start -> All Programs -> Dynamsoft SourceAnywhere Server.
Contents For Administrators... 3 Set up SourceAnywhere... 3 SourceAnywhere Service Configurator... 3 Start Service... 3 IP & Port... 3 SQL Connection... 4 SourceAnywhere Server Manager... 4 Add User...
FortyCloud Installation Guide. Installing FortyCloud Gateways Using AMIs (AWS Billing)
FortyCloud Installation Guide Installing FortyCloud Gateways Using AMIs (AWS Billing) Date Version Changes 9/29/2015 2.0 2015 FortyCloud Ltd. 15 Berkshire Road Mansfield, MA 02048 USA 1 P a g e Introduction
Acunetix Web Vulnerability Scanner. Getting Started. By Acunetix Ltd.
Acunetix Web Vulnerability Scanner Getting Started V8 By Acunetix Ltd. 1 Starting a Scan The Scan Wizard allows you to quickly set-up an automated scan of your website. An automated scan provides a comprehensive
ACI Commerce Gateway Hosted Payment Page Guide
ACI Commerce Gateway Hosted Payment Page Guide Inc. All rights reserved. All information contained in this document is confidential and proprietary to ACI Worldwide Inc. This material is a trade secret
Marcum LLP MFT Guide
MFT Guide Contents 1. Logging In...3 2. Installing the Upload Wizard...4 3. Uploading Files Using the Upload Wizard...5 4. Downloading Files Using the Upload Wizard...8 5. Frequently Asked Questions...9
Login with Amazon. Getting Started Guide for Websites. Version 1.0
Login with Amazon Getting Started Guide for Websites Version 1.0 Login with Amazon: Getting Started Guide for Websites Copyright 2016 Amazon Services, LLC or its affiliates. All rights reserved. Amazon
Using Oracle Cloud to Power Your Application Development Lifecycle
Using Oracle Cloud to Power Your Application Development Lifecycle Srikanth Sallaka Oracle Product Management Dana Singleterry Oracle Product Management Greg Stachnick Oracle Product Management Using Oracle
Installation Guide. SafeNet Authentication Service
SafeNet Authentication Service Installation Guide Technical Manual Template Release 1.0, PN: 000-000000-000, Rev. A, March 2013, Copyright 2013 SafeNet, Inc. All rights reserved. 1 Document Information
kalmstrom.com Business Solutions
HelpDesk OSP User Manual Content 1 INTRODUCTION... 3 2 REQUIREMENTS... 4 3 THE SHAREPOINT SITE... 4 4 THE HELPDESK OSP TICKET... 5 5 INSTALLATION OF HELPDESK OSP... 7 5.1 INTRODUCTION... 7 5.2 PROCESS...
Web Development 1 A4 Project Description Web Architecture
Web Development 1 Introduction to A4, Architecture, Core Technologies A4 Project Description 2 Web Architecture 3 Web Service Web Service Web Service Browser Javascript Database Javascript Other Stuff:
DreamFactory on Microsoft SQL Azure
DreamFactory on Microsoft SQL Azure Account Setup and Installation Guide For general information about the Azure platform, go to http://www.microsoft.com/windowsazure/. For general information about the
Hadoop Data Warehouse Manual
Ruben Vervaeke & Jonas Lesy 1 Hadoop Data Warehouse Manual To start off, we d like to advise you to read the thesis written about this project before applying any changes to the setup! The thesis can be
How To Test Your Web Site On Wapt On A Pc Or Mac Or Mac (Or Mac) On A Mac Or Ipad Or Ipa (Or Ipa) On Pc Or Ipam (Or Pc Or Pc) On An Ip
Load testing with WAPT: Quick Start Guide This document describes step by step how to create a simple typical test for a web application, execute it and interpret the results. A brief insight is provided
5. At the Windows Component panel, select the Internet Information Services (IIS) checkbox, and then hit Next.
Installing IIS on Windows XP 1. Start 2. Go to Control Panel 3. Go to Add or RemovePrograms 4. Go to Add/Remove Windows Components 5. At the Windows Component panel, select the Internet Information Services
How To Install An Org Vm Server On A Virtual Box On An Ubuntu 7.1.3 (Orchestra) On A Windows Box On A Microsoft Zephyrus (Orroster) 2.5 (Orner)
Oracle Virtualization Installing Oracle VM Server 3.0.3, Oracle VM Manager 3.0.3 and Deploying Oracle RAC 11gR2 (11.2.0.3) Oracle VM templates Linux x86 64 bit for test configuration In two posts I will
Content Management System User Guide
Content Management System User Guide Table Of Contents Getting Started Checklist... 1 Overview: Portal Content Management System... 3 Anatomy of a Portal Page... 3 Overview of the Content Management System...
Installation & Configuration Guide Version 2.2
ARPMiner Installation & Configuration Guide Version 2.2 Document Revision 1.8 http://www.kaplansoft.com/ ARPMiner is built by Yasin KAPLAN Read Readme.txt for last minute changes and updates which can
Overview of Web Services API
1 CHAPTER The Cisco IP Interoperability and Collaboration System (IPICS) 4.5(x) application programming interface (API) provides a web services-based API that enables the management and control of various
DocumentsCorePack Client
DocumentsCorePack Client for MS CRM 2015 v.7.3 - January 2015 Client Installation Guide (How to install and configure DocumentsCorePack Client for MS CRM 2015) The content of this document is subject to
Cloud Administration Guide for Service Cloud. August 2015 E65820-01
Cloud Administration Guide for Service Cloud August 2015 E65820-01 Table of Contents Introduction 4 How does Policy Automation work with Oracle Service Cloud? 4 For Customers 4 For Employees 4 Prerequisites
Introduction to XHTML. 2010, Robert K. Moniot 1
Chapter 4 Introduction to XHTML 2010, Robert K. Moniot 1 OBJECTIVES In this chapter, you will learn: Characteristics of XHTML vs. older HTML. How to write XHTML to create web pages: Controlling document
Workflow Automation Support and troubleshooting guide
NETAPP INTERNAL DOCUMENT Workflow Automation Support and troubleshooting guide Yaron Haimsohn, NetApp June 2011 DRAFT v 1.1 TABLE OF CONTENTS 1 PURPOSE... 3 2 GENERAL... 3 2.1 references... 3 2.2 Revisions...
Online signature API. Terms used in this document. The API in brief. Version 0.20, 2015-04-08
Online signature API Version 0.20, 2015-04-08 Terms used in this document Onnistuu.fi, the website https://www.onnistuu.fi/ Client, online page or other system using the API provided by Onnistuu.fi. End
Deploying Intellicus Portal on IBM WebSphere
Deploying Intellicus Portal on IBM WebSphere Intellicus Web-based Reporting Suite Version 4.5 Enterprise Professional Smart Developer Smart Viewer Intellicus Technologies [email protected] www.intellicus.com
USING MYWEBSQL FIGURE 1: FIRST AUTHENTICATION LAYER (ENTER YOUR REGULAR SIMMONS USERNAME AND PASSWORD)
USING MYWEBSQL MyWebSQL is a database web administration tool that will be used during LIS 458 & CS 333. This document will provide the basic steps for you to become familiar with the application. 1. To
Esigate Module Documentation
PORTAL FACTORY 1.0 Esigate Module Documentation Rooted in Open Source CMS, Jahia s Digital Industrialization paradigm is about streamlining Enterprise digital projects across channels to truly control
SharePoint Integration Framework Developers Cookbook
Sitecore CMS 6.3 to 6.6 and SIP 3.2 SharePoint Integration Framework Developers Cookbook Rev: 2013-11-28 Sitecore CMS 6.3 to 6.6 and SIP 3.2 SharePoint Integration Framework Developers Cookbook A Guide
Yandex.Widgets Quick start
17.09.2013 .. Version 2 Document build date: 17.09.2013. This volume is a part of Yandex technical documentation. Yandex helpdesk site: http://help.yandex.ru 2008 2013 Yandex LLC. All rights reserved.
2. Follow the installation directions and install the server on ccc
Installing a Web Server 1. Install a sample web server, which supports Servlets/JSPs. A light weight web server is Apache Tomcat server. You can get the server from http://tomcat.apache.org/ 2. Follow
WIRIS quizzes web services Getting started with PHP and Java
WIRIS quizzes web services Getting started with PHP and Java Document Release: 1.3 2011 march, Maths for More www.wiris.com Summary This document provides client examples for PHP and Java. Contents WIRIS
Configuring Single Sign-On from the VMware Identity Manager Service to Office 365
Configuring Single Sign-On from the VMware Identity Manager Service to Office 365 VMware Identity Manager JULY 2015 V1 Table of Contents Overview... 2 Passive and Active Authentication Profiles... 2 Adding
Enrollment Process for Android Devices
1 Enrollment Process for Android Devices Introduction:... 2 Pre-requisites:... 2 Via SMS:... 2 Via Email:... 11 Self Service:... 19 2 Introduction: This is a brief guide to enrolling an android device
IIS, FTP Server and Windows
IIS, FTP Server and Windows The Objective: To setup, configure and test FTP server. Requirement: Any version of the Windows 2000 Server. FTP Windows s component. Internet Information Services, IIS. Steps:
PowerLink for Blackboard Vista and Campus Edition Install Guide
PowerLink for Blackboard Vista and Campus Edition Install Guide Introduction...1 Requirements... 2 Authentication in Hosted and Licensed Environments...2 Meeting Permissions... 2 Installation...3 Configuring
SOA Software API Gateway Appliance 7.1.x Administration Guide
SOA Software API Gateway Appliance 7.1.x Administration Guide Trademarks SOA Software and the SOA Software logo are either trademarks or registered trademarks of SOA Software, Inc. Other product names,
HTML Form Widgets. Review: HTML Forms. Review: CGI Programs
HTML Form Widgets Review: HTML Forms HTML forms are used to create web pages that accept user input Forms allow the user to communicate information back to the web server Forms allow web servers to generate
Configuring Cisco CallManager IP Phones to Work With IP Phone Agent
Configuring Cisco CallManager IP Phones to Work With IP Phone Agent Document ID: 40564 Contents Introduction Prerequisites Requirements Components Used Conventions Configuration Procedures in Cisco CallManager
Chapter 22 How to send email and access other web sites
Chapter 22 How to send email and access other web sites Murach's PHP and MySQL, C22 2010, Mike Murach & Associates, Inc. Slide 1 Objectives Applied 1. Install and use the PEAR Mail package to send email
Click-To-Talk. ZyXEL IP PBX License IP PBX LOGIN DETAILS. Edition 1, 07/2009. LAN IP: https://192.168.1.12 WAN IP: https://172.16.1.1.
Click-To-Talk ZyXEL IP PBX License Edition 1, 07/2009 IP PBX LOGIN DETAILS LAN IP: https://192.168.1.12 WAN IP: https://172.16.1.1 Username: admin Password: 1234 www.zyxel.com Copyright 2009 ZyXEL Communications
Salesforce.com Integration - Installation and Customization Guide
Feedback Analytics Kampyle LTD Salesforce.com Integration - Installation and Customization Guide January 2010 This document is an easy guide for the installation and customization of Kampyle's Salesforce.com
Managing Web Authentication
Obtaining a Web Authentication Certificate, page 1 Web Authentication Process, page 4 Choosing the Default Web Authentication Login Page, page 7 Using a Customized Web Authentication Login Page from an
The McGill Knowledge Base. Last Updated: August 19, 2014
The McGill Knowledge Base Last Updated: August 19, 2014 Table of Contents Table of Contents... 1... 2 Overview... 2 Support... 2 Exploring the KB Admin Control Panel Home page... 3 Personalizing the Home
Kaltura Extension for IBM Connections Deployment Guide. Version: 1.0
Kaltura Extension for IBM Connections Deployment Guide Version: 1.0 Kaltura Business Headquarters 5 Union Square West, Suite 602, New York, NY, 10003, USA Tel.: +1 800 871 5224 Copyright 2014 Kaltura Inc.
Visualizing a Neo4j Graph Database with KeyLines
Visualizing a Neo4j Graph Database with KeyLines Introduction 2! What is a graph database? 2! What is Neo4j? 2! Why visualize Neo4j? 3! Visualization Architecture 4! Benefits of the KeyLines/Neo4j architecture
INTRODUCTION TO ATRIUM... 2 SYSTEM REQUIREMENTS... 2 TECHNICAL DETAILS... 2 LOGGING INTO ATRIUM... 3 SETTINGS... 4 NAVIGATION PANEL...
INTRODUCTION TO ATRIUM... 2 SYSTEM REQUIREMENTS... 2 TECHNICAL DETAILS... 2 LOGGING INTO ATRIUM... 3 SETTINGS... 4 CONTROL PANEL... 4 ADDING GROUPS... 6 APPEARANCE... 7 BANNER URL:... 7 NAVIGATION... 8
Tenable for CyberArk
HOW-TO GUIDE Tenable for CyberArk Introduction This document describes how to deploy Tenable SecurityCenter and Nessus for integration with CyberArk Enterprise Password Vault. Please email any comments
WebSpy Vantage Ultimate 2.2 Web Module Administrators Guide
WebSpy Vantage Ultimate 2.2 Web Module Administrators Guide This document is intended to help you get started using WebSpy Vantage Ultimate and the Web Module. For more detailed information, please see
DEPLOYMENT GUIDE Version 1.2. Deploying the BIG-IP system v10 with Microsoft Exchange Outlook Web Access 2007
DEPLOYMENT GUIDE Version 1.2 Deploying the BIG-IP system v10 with Microsoft Exchange Outlook Web Access 2007 Table of Contents Table of Contents Deploying the BIG-IP system v10 with Microsoft Outlook Web
WHMCS LUXCLOUD MODULE
èè WHMCS LUXCLOUD MODULE Update: 02.02.2015 Version 2.0 This information is only valid for partners who use the WHMCS module (v2.0 and higher). 1.1 General overview 1.2 Installing the plugin Go to your
Securing Adobe connect Server and CQ Server
Securing Adobe connect Server and CQ Server To Enable SSL on Connect Server and CQ server (Index) Configure custom.ini File Uncomment the SSL TAGs in Server.xml file. Configure the Four components of connect
