IBM Worklight V5.0.6
Total Page:16
File Type:pdf, Size:1020Kb
documentation is". user "as documentation. user offline provided IBM Worklight V5.0.6 is online Worklight the to IBM documentrefer This issues, of Experimental case In documentation is". user "as documentation. user offline provided is online Worklight the to IBM documentrefer This issues, of Experimental case In ii IBM Worklight V5.0.6 Contents Chapter 1. Starting with IBM Worklight . 1 Setting the size of the login screen for web Introducing IBM Worklight .........1 widgets...............80 System requirements for using IBM Worklight . 4 Deploying applications on iGoogle .....80 What's new ...............4 Deploying applications on Facebook .....81 What's new in IBM Worklight V5.0.6.2 .....4 Signing Adobe AIR applications ......82 What's new in IBM Worklight V5.0.6.1 .....5 Signing Windows 8 apps .........82 What's new in IBM Worklight V5.0.6 .....5 Signing Windows 7 and Vista gadgets ....83 Known limitations ............12 Embedding widgets in predefined web pages . 84 Setting up IBM Worklight Studio .......13 Development guidelines for using native API . 84 Installing IBM Worklight Studio ......14 Application Descriptor of Native API Troubleshooting IBM Worklight Studio applications for iOS ..........86 installation .............17 Client property file for iOS ........88 Upgrading IBM Worklight Studio in Eclipse . 18 Copying files of Native API applications for iOS 88 Starting IBM Worklight Studio installed with IBM Application Descriptordocumentation of Native API application Installation Manager ..........19 for Android .............89is". Starting IBM Worklight Studio installed with P2 Client property file for Android ......91 Eclipse update ............19 Copying files of Native API applications for Installing mobile specific tools .......19 Androiduser..............92 "as documentation. Changing the port number of the internal Application Descriptor of Native API application application server ...........21 for Java Platform, Micro Edition (Java ME) . 92 Migrating to a newer version of IBM Worklight 22 Client property file for Java Platform, Micro Setting up IBM Worklight Server .......29 Edition (Java ME)user...........93 Getting started tutorials and samples ......29offlineCopying files of Native API applications for Java Platform, Micro Edition (Java ME) ......94 Chapter 2. Developing IBM Worklight providedDeveloping the server side of an IBM Worklight applications ............39 application ..............95 is Overviewonline of IBM Worklight adapters .....95 Starting with IBM Worklight projects, applications, The adapter XML File ..........99 environments, and skins ..........39 Creating an IBM Worklight adapter .....111 Overview: IBM Worklight projects, applications, theAdapter invocation service ........114 environments, and skins .........40Worklight Implementing adapter procedures .....115 Creating IBM Worklight projects ......42to Encoding a SOAP XML envelope ......116 Anatomy of an IBM Worklight Project ....43 Calling Java code from a JavaScript adapter . 117 Creating the client side of an IBM Worklight Features of the IBM Worklight Studio ....117 application .............45IBM Procedure invocation ..........122 Anatomy of an IBM Worklightdocument Application . 47 refer Invoking a back-end service .......123 Development guidelines for mobile environments 61 Deploying an adapter .........126 Integrating with source control systems ....61 Transporting Worklight applications to test and Integrate Tealeaf CX with IBM Worklight . 63 production environments .........127 Application skins This...........67 Transporting an application from development Web and native code in iPhone, iPad, and to another environment .........127 Android ..............68 Deploying a customization .war file to an Creating an IBM Worklightissues, BlackBerry 10 application server ...........129 environment .............72 Administering adapters and apps in the IBM Specifying the iconof for an Android application . 73 Worklight Console...........132 ExperimentalSpecifying the icon for an iPhone application . 74 Ant tasks for building and deploying ....134 Extracting a public signing key .......74 Authentication configuration ........137 Connecting to Worklight Server ......77 Protected resources ..........137 Addingcase custom code to an Android app....78 Security Tests ............137 Development guidelines for desktop and web Authentication realms .........139 environmentsIn ..............79 Authenticators and Login Modules .....140 Specifying the application taskbar for Adobe AIR The authentication configuration file ....140 applications .............79 Configuring IBM Worklight web application Configuring the authentication for web widgets 80 authorization ............141 Writing login form files for web widgets . 80 Configuring Authenticators and Realms . 141 Basic authenticator ..........142 iii Form-based authenticator ........143 Chapter 6. IBM Worklight Server Header authenticator ..........144 administration ...........311 Persistent cookie authenticator ......144 Architecture and concepts .........311 Adapter authenticator .........144 IBM Worklight development lifecycle ....312 LTPA authenticator ..........145 Typical topology of an IBM Worklight instance 313 Attributes of login modules .......146 Installation ..............314 Non-validating login module .......147 Installation prerequisites.........314 Database login module .........147 Creating the DB2 databases........315 Single identity login module .......148 Creating the MySQL databases ......316 Header login module..........149 Creating the Oracle databases .......316 WASLTPAModule login module ......149 Running IBM Installation Manager .....318 LDAP login module ..........149 Manually configuring the databases .....321 Scope of mobile device authentication ....151 Manually configuring the application server . 342 Mobile device provisioning........152 Starting IBM Worklight Server with Liberty Configuring and implementing device Profile ...............347 provisioning.............153 Starting IBM Worklight Server with WebSphere Device single sign-on (SSO) .......154 Application Server ..........348 Configuring device single sign-on .....154 Starting IBM Worklight Server with Apache Data synchronization with JSONStore .....155 Tomcat ..............348documentation Developing an app that uses data Verifying IBM Worklight Serveris". startup . 348 synchronization ...........156 Applying environment-specific customization 349 Encrypting collections .........157 Deploying content: applications and adapters 350 Troubleshooting information for synchronization 157 Databaseuser and certificate "as security documentation. passwords . 353 Client-side log capture ..........158 Apache Tomcat security options ......353 Server preparation for uploaded log data . 159 WebSphere Application Server security options 354 Client-side logging in client apps ......160 WebSphere Application Server security option 1 procedure .............356user Chapter 3. Integration with other IBM offlineWebSphere Application Server security option 2 Mobile Foundation products .....163 procedure .............357 Introducing the IBM Worklight platform ....163 providedRunning IBM Worklight in WebSphere Integration with Cast Iron .........164 Application Server with Java 2 security enabled . 358 Integration with reverse proxy........165 is Changingonline the IBM Worklight Server working Authentication at the gateway .......166 directory ..............359 Managing end points with IBM Endpoint Manager 167 Administering IBM Worklight applications . 359 Useful links ..............168 theDirect updates of app versions to mobile Worklight devices ..............360 Chapter 4. Migrating from the to Direct updates of app versions to desktop apps 362 WebSphere Application Server Locking an application .........362 Remotely disabling application connectivity . 363 Feature Pack ...........169IBM document Displaying a notification message on application Migration scenarios ...........169refer startup ..............366 Migrating an application that uses the client Defining administrator messages from the IBM programming model ..........169 Worklight Console in multiple languages . 366 Migrating an applicationThis that uses the server Controlling authenticity testing for an app . 370 programming model ..........170 Setting up existing applications with a new Considerations for applications that use JAX-RS, server version ............371 JSON-RPC, or proxying .........171issues, Federal standards support in Worklight . 372 Example: Migrating the Dojo showcase sample 171 Reports ...............374 of Using raw data reports .........375 Chapter 5. API reference ......173 Device usage reports ..........378 ExperimentalIBM Worklight client-side API ........173 Predefined BIRT Reports ........380 JavaScript client-side API ........173 Installing BIRT on Apache Tomcat .....382 Objective-C client-side API for native iOS apps 271 Installing BIRT on WebSphere Application Java client-sidecase API for native Android apps 271 Server Liberty Profile..........384 Java client-side API for Java ME apps ....271 Installing BIRT on WebSphere Application IBM WorklightIn server-side API .......271 Server Full Profile ...........386 JavaScript server-side API ........271 Configuring BIRT Reports For Your Application Java server-side API ..........301 Server ...............387 BIRT in Eclipse ............388 Notification reports database schema ....390 High availability ............391 iv IBM Worklight V5.0.6 Clustering .............391 Configuring