User Tools

Site Tools


developers:examples:java:client-api-advanced-hello-world

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
developers:examples:java:client-api-advanced-hello-world [2016/10/26 07:48]
127.0.0.1 external edit
— (current)
Line 1: Line 1:
-====== SDK Client API - Advanced Hello World Application ====== 
- 
-===== Advanced Hello World Application ===== 
- 
-The Java SDK package also includes an advanced "Hello World" application, an example of all basic operation and showcase of some advanced operation. It is a standard Java web application that can be placed in any web container supporting servlet 3.0. The Tomcat web container will be used here. The application is provided including source files, nevertheless all logic is in jsp in the form of scriptlets. 
- 
-[[https://cloud-alpha.aducid.com/aducid-api-advanced-webapp|Try it out]] 
- 
-[[https://github.com/aducid-dev/client-api/tree/master/advanced|Get sources and binaries on GitHub]] 
- 
-==== Preconditions ==== 
- 
-If full application functionality is expected, the following needs to be arranged: 
- 
-  * PEIG must be running (ADUCID<sup>®</sup>   client side) 
-  * Valid identity must exist in ADUCID<sup>®</sup>   Server Kit 
- 
-==== Installation ==== 
- 
-Steps to install the application as a part of Tomcat: 
- 
-  - Rename the supplied advanced web application “Hello World” from api-advanced-webapp-[version].war to api-advanced-webapp.war. 
-  - Load the api-advanced-webapp.war web archive to Tomcat (to the $TOMCAT_HOME/webapps directory). 
-  - Run Tomcat so that the installed sample web application unpacks to the subdirectory api-advanced-webapp in $TOMCAT_HOME/webapps directory. 
-  - Stop Tomcat. 
-  - Set the "host" parameter in the file $TOMCAT_HOME/webapps/api-advanced-webapp/WEB-INF/classes/config.properties to the machine address (including port), where the AIM and AIM-Proxy applications are running. If the parameter is not configured, the application won’t work properly. 
-  - Run Tomcat. 
- 
-After the installation, the application will be available on: 
- 
-[[http://[your_container_ip]:[your_container_port]/api-advanced-webapp|http://[your_container_ip]:[your_container_port]/api-advanced-webapp]] 
- 
-Example of address: 
- 
-[[http://10.20.29.189:8080/api-advanced-webapp|http://10.20.29.189:8080/api-advanced-webapp]] 
- 
-If you install the sample application in Linux/Unix OS, stop the iptables service or modify its configuration. 
- 
-Then the following pages will be available: 
- 
-  * /requestOperation.jsp, access also via / – freely accessible page, it shows all request operation methods, which can be called; methods starting authentication session 
-  * /getPSLAttributes.jsp – the page to which the AIM Proxy reroutes the result of authentication; it shows authentication success/failure information and links to advanced operations, calling advanced operations requires authId and authKey pair 
-  * /executePersonalObject.jsp – the page with result of advanced operation 
-  * /closeSession.jsp – the page with result of close session operation 
- 
-<font 11.0pt/11;;inherit;;inherit>The minimum sequence of the functional code can be found in the code of these pages. The code is essential for integration of ADUCID<sup>®</sup> authentication into third-party systems.</font> 
- 
-== requestOperation.jsp page == 
- 
-{{:developers:examples:java:client-api-hello-world-advanced1.png?nolink&800x575}} 
- 
-== getPSLAttributes.jsp page == 
- 
-{{:developers:examples:java:client-api-hello-world-advanced2.png?nolink&800x270}} 
- 
-== executePersonalObject.jsp == 
- 
-{{:developers:examples:java:client-api-hello-world-advanced3.png?nolink&800x269}} 
- 
-== closeSession.jsp == 
- 
-{{:developers:examples:java:client-api-hello-world-advanced4.png?nolink&800x269}} 
- 
  
developers/examples/java/client-api-advanced-hello-world.1477468112.txt.gz · Last modified: 2016/10/26 07:48 by 127.0.0.1