mobilefirst-server

How to access IBM MobileFirst 7.1 default attribute store in session independent mode

不打扰是莪最后的温柔 提交于 2020-01-17 06:52:43
问题 I am working on migrating a IBM MobileFirst 6.3 project to version 7.1 and enabling the 7.1 session independent mode. I have specified the attribute store as the worklight default runtime database. In the previous version I have used HTTPSession object in HTTP JavaScript adapters to dynamically store some minimal data related to the current user session as shown in the sample code below. var request = WL.Server.getClientRequest(); var session = request.getSession(); session.setAttribute("ID",

Issue connecting to MobileFirst Server via HTTPS

前提是你 提交于 2020-01-16 03:51:14
问题 We have an app that connects to a MobileFirst Server. Our app connects fine via HTTP, however it will not connect via HTTPS. The App itself is a native iOS app built with Xcode. We have a self signed certificate on the server. The server is setup to pass the whole certificate keychain back to the client (Root, Intermediate and finally the server certificate) in that order. All these certificates have been installed on the client iOS device as well, according to these specifications Connecting

Not able to send push notification to iOS devices through MFP Server V8 Console

眉间皱痕 提交于 2020-01-14 04:07:11
问题 I am trying to send a push notification to an iOS device through MobileFirstPlatform V8.0 Server Console but when I am sending the notification I am getting the following error: An error occurred while the notification was sent. Internal server error. No devices found. I checked in Home -> mfp -> Devices , the devices exist there: I am able to successfullly send a notification to the android devices. Its just the iOS ones which are causing the problem. UPDATE I enabled the trace and when I am

MobileFirst 8.0 App Authenticity - Custom message

|▌冷眼眸甩不掉的悲伤 提交于 2020-01-07 02:21:51
问题 Enabling app authenticity and testing for a tampered case has never been easier. In MFP 8.0 it is very simple to setup and test it. Kudos to the development team. Having said that when the app authenticity fails, the system shows a standard error message "A n error was encountered while processing the request from the application " with a title " Error " Link to the image of the error message Question: Is there a way to customize this error message. For example it would be nice to inform the

“No MBean found for MobileFirst project 'HelloWorld'”

匆匆过客 提交于 2020-01-06 03:09:07
问题 I am using eclipse-jee-luna-SR2-win32 and MobileFirst Platform Foundation 6.3.0.0-MFPF-StudioP2-IF201504301455. Have created a adapter and tried running it. Getting error: No MBean found for MobileFirst project 'HelloWorld'. Possibly the MobileFirst runtime web application for MobileFirst project 'HelloWorld' is not running. If it is running, use JConsole to inspect the available MBeans. If it is not running, full error details are available in the MobileFirst Development Server Eclipse

IBM MobileFirst Platform Foundation 6.3: Can we edit the custom attributes of User Identity Object [MobileFirst Session]

送分小仙女□ 提交于 2020-01-06 02:33:42
问题 With the help of the following API calls, 1. WL.Server.setActiveUser 2. WL.Server.getCurrentUserIdentity We can create user session and get the user identity properties respectively. I have a scenario where I want to update the properties[custom attributes] in the user identity object when the session is active. I couldn't find an API which can do this task. Is there any way/work-around available. 回答1: In general activated userIdentity is immutable. Try this, it might work var userIdentity =

Unable to use HTTPS for MobileFirst Console 6.3

橙三吉。 提交于 2019-12-31 06:22:35
问题 I am using MobileFirst 6.3 ontop of WAS Liberty 8.5.5.4. I am able to access the console via HTTP, but fail to do so via HTTPS. With HTTP: With HTTPS: This is the server.xml: server.xml And the messages.log: messages.log 回答1: You must install from IBM fix central the last 6.3 ifix that includes : http://www-01.ibm.com/support/docview.wss?uid=swg1PI30521 http://www-01.ibm.com/support/docview.wss?uid=swg1PI31900 来源: https://stackoverflow.com/questions/28243429/unable-to-use-https-for

IBM MobileFirst Platform Installation in Windows 8.1 64Bit

风流意气都作罢 提交于 2019-12-30 06:56:08
问题 I am using my office laptop (Lenovo vV310 - 8GB RAM - 64 Bit OS - Windows 8.1). I have been trying to fix an installation issue with IBM Mobile First Platform for the past few days. I downloaded the IBM Mobile First Developer Kit from link http://public.dhe.ibm.com/ibmdl/export/pub/software/products/en/MobileFirstPlatform/mobilefirst-deved-devkit-windows-8.0.0.0.exe The problem is the installation software InstallAnywhere is not installing and gives the below warning. Windows error 2 occured

Calling setActiveUser throws error

你。 提交于 2019-12-29 08:19:46
问题 I am trying assign a userid to user and I am getting error . I am following as steps below. server details. <realm loginModule="AuthLoginModule" name="AuthRealm"> <className>com.worklight.integration.auth.AdapterAuthenticator</className> <parameter name="login-function" value="AuthAdapter.onAuthRequired"/> <parameter name="logout-function" value="AuthAdapter.onLogout"/> </realm> </realms> <loginModule name="AuthLoginModule"> <className>com.worklight.core.auth.ext.NonValidatingLoginModule<

Not able to get the Device information in IBM Mobile first console with IONIC + MFP App

可紊 提交于 2019-12-25 18:48:51
问题 I am working with integrating IBM Mobile first with my Ionic App. In there i have added a call for a IBM server connectivity. In there i can able to Connect my App with their server. In my console i can able see like, the sever was get connected. My issue is, In mobile first Operation console, i am not able to get any information regarding to my App. (i.e) Device information. 回答1: Edit: I took your app from GitHub and did the following: from the root folder of the project, ran the command: