Adapters are the server-side code of applications that are deployed on and serviced by IBM® MobileFirst Platform Foundation (formerly IBM Worklight Foundation). Adapters connect to enterprise applications (otherwise referred to as back-end systems), deliver data to and from mobile applications, and perform any necessary server-side logic on this data.
Questions tagged [mobilefirst-adapters]
518 questions
2
votes
1 answer
MobileFirst - Remove -secure- sentence from the adapter response
It's possible to remove the "/*-secure-" sentence from the response of the worklight adapter?
/*-secure-
{"isSuccessful":true,"result":"CC: No subscription found for user :: 11111"}*/
version: Mobilefirst 7.0.0

Francisco Díaz
- 73
- 11
2
votes
1 answer
IBM Mobilefirst 7.0- Java Adapter fails to execute on the server side
I'm getting the following on my MobileFirst Java Adapter when performing an addition
Error 500: java.lang.ClassCastException: java.lang.Integer cannot be cast to java.lang.String
@Path("/calc")
public class Calculator {
@Context
…

Vinod Kumar Marupu
- 547
- 6
- 21
2
votes
1 answer
IsCustomResponse is always returning false in Adapter-based authentication
I am following the tutorial on implementing Adapter-based authentication on https://developer.ibm.com/mobilefirstplatform/documentation/getting-started-7-0/authentication-security/adapter-based-authentication/
isCustomReponse method is always…

user3681378
- 95
- 1
- 1
- 10
2
votes
1 answer
How to run the "PushNotification" Sample on the MF Test Server (Remote Server)?
I try to run the sample push notification, from getting started (https://developer.ibm.com/mobilefirstplatform/documentation/getting-started-6-3/notifications/push-notifications-hybrid-applications/), on the MF Server using WAS and DB2. The sample…

Thomas Suedbroecker
- 454
- 6
- 23
1
vote
1 answer
IBM MFP Calling a JS adapter procedure from a JS adapter cause SSLHandshakeException by IHS
I have two javascript adapter:adapterA、adapterB
And I need call adapterA after that the adapterA will call adapterB(use MFP.Server.invokeProcedure, in the same mfp server) using this API
when I call in mfp localhost, it…

Tsai
- 67
- 7
1
vote
0 answers
MFP 8.0 - Intermittent invalid_scope error after login
We have configured MFP OAuth Authentication and enabled single user session on server. Currently we are getting intermittent invalid_scope error on next adapter request after successful login.
MFP Server version - 8.0.0.00-20181004-0631
MFP Cli…

prashant
- 11
- 5
1
vote
0 answers
IBM Mobile Migration : Worklight 6.2 to 8.0
I am migrating IBM Worklight 6.2 application to IBM MobileFirst 8.0 using below guide
https://mobilefirstplatform.ibmcloud.com/tutorials/en/foundation/8.0/upgrading/migration-cookbook/
I migrated the source code but when try to migrate adapters I…

Muhammad Saifuddin
- 1,284
- 11
- 29
1
vote
2 answers
how to solve this error "java.security.cert.CertificateException:" while calling java adapter in mobilefirst?
I am currently working on Mobile first version 8. While creating a java adapter to call a api through the following code I m receiving error
"java.security.cert.CertificateException: PKIX path building failed mobile first java adapter…

Bhagyesh Radiya
- 19
- 3
1
vote
1 answer
integration of Mobilefirst Platform with NETIQ IDAM
I tried to Authenticate the mobile user on IDAM-LDAP via NetIq. But for that we need some of the service or mechanism in which we can verify directly send our username and password and that will be validated by NetIq via LDAP.
I tried with simple…

attu
- 11
- 2
1
vote
1 answer
MobileFirst Obtain Access token and Login give no response after setting WL.App.setServerURL
As per my requirement, I am using WL.APP.setServerURL before every login request WLAuthorizationManager.loginof mobilefirst.
When I do first an valid/Invalid login attempt it works fine. As on next attempt I do WL.App.setServerURL, and then…

parth.hirpara
- 542
- 3
- 19
1
vote
2 answers
MFP 8.0 SECURITY_CHECK_NOT_FOUND
I had configured my security adapter.
I had mentioned the security check name in my app side also.
This is MFP server version: 8.0.0.00-20160822-2140
MFPdev_CLI version: 8.0.0-2017102406
(It was working long day back. is there any problem with my…

Roney Francis
- 356
- 2
- 15
1
vote
2 answers
Mobilefirst 8.0 push notification API - Push Device Registration (POST)
I am referring to the documentation on the MobileFirst Server push service REST API for Push Device Registration (POST). From the document…

kwenyao
- 67
- 7
1
vote
1 answer
IBM MobileFirst 8.0 integrate with Integration Bus
For our mobile apps we implemented our adapters using JavaScript where procedures simply do MFP.Server.invokeHTTP. But now we need somehow integrate with IBM Integration Bus (IIB), and I can't find any information how to do it.
I have only limited…

Alexander Volk
- 13
- 2
1
vote
2 answers
MobileFirst 8: get client data ( IP address, request data ) in UserAuthenticationSecurityCheck
I'm trying to get some client data inside the UserAuthenticationSecurityCheck.validateCredentials method.
The IP Address is the most important for it.
In the other adapters, I'm using the HttpServletRequest:
@Context
protected HttpServletRequest…

Leonardo Simas
- 13
- 2
1
vote
2 answers
ReferenceError: WL is not defined
enter image description here
ReferenceError: WL is not defined
mfp 8 version

Pushpendra Singh
- 29
- 8