SlideShare a Scribd company logo
1 of 26
© 2015 IBM Corporation1
Connecting Xamarin Apps with
IBM Mobile Foundation (a.k.a MobileFirst, Worklight)
+
@ajaychebbi - Sr. Architect, product development
IBM Mobile Platform
© 2016 IBM Corporation 2Foundation @ajaychebbi
Development
Engagement
Security
Operations
Development
Engagement
Security
Operations
App developers are not able to focus on apps
Developer time spent Value is in the mobile app
© 2015 IBM Corporation3
The IBM MobileFirst SDK for Xamarin
Xamarin Studio
Integrated
Services
Create rich native applications in C# in Xamarin Studio
leveraging enterprise grade app services that speed
development and enhance app capabilities and
performance.
Security
Authentication
Integration
Notifications
App Management
Analytics
Offline Storage
IBM Mobile Foundation
On-prem or on Bluemix Cloud
© 2015 IBM Corporation4
Adding the IBM Mobile Foundation SDK Component
© 2015 IBM Corporation5
C# API documentation – available in the Component
© 2015 IBM Corporation6
© 2015 IBM Corporation7
© 2015 IBM Corporation8
What do Xamarin developers get?
© 2016 IBM Corporation 9Foundation @ajaychebbi
Simple, scalable and proven enterprise mobile middleware deployable on-
premises and on Cloud
MobileFirst Foundation
to protect from mobile-
specific threats
Mobile Analytics
App Lifecycle
Management
Backend Logic
Engine
Push &
Offline Sync
Comprehensive
Security
to better understand
your users
to reduce time and
costs of operations
and incremental
updates
to add server-side
logic to your app
essential backend
services that every
app needs
http://bit.ly/MFPAddSDK
© 2015 IBM Corporation10
Enterprise Integration
Worklight server provides a single secure point of integration into the Enterprise that speeds
integration and enables management of mobile solutions
APIM,
Datapower,
CastIron
StrongLoop
Integration hub
HTTP(S)
Database, WebService, REST, JMS
MQ, File,FTP,SAP,Siebel etc
:
JDBC
Web Service
JMSJSON
Enterprise
Applications
IBM Mobile
Foundation
SDK
Deployed on prem, or Bluemix
PUSH
NOTIFICATIONS
AUTHENTICATION
BUSINESSLOGIC
OFFLINESYNC
MobileFirst
Platform
Foundation
MANAGEMENT
ANALYTICS
SECURITY
© 2016 IBM Corporation 11Foundation @ajaychebbi
Bluemix
Mobile Foundation
Secure Gateway
Deployment pattern on Bluemix Several services available on Bluemix to build
your Backend logic
Optionally connect to your On-prem datacentre
© 2015 IBM Corporation12
IBM Bluemix
A rich set of mobile ready APIs that you can mix and match to power your App
Run Code
The developer can chose from multiple language runtimes or bring
their own. Just upload your code and go. Asp.net available.
Store Data (SQL or NoSQL)
The developer can store data in the cloud as a service easily without
needing to administer the databases.
Cloud Integration
Build hybrid environments. Connect to on-premises systems of record
plus other public and private clouds. Expose your own APIs to your
developers.
Cognitive
Wide array of Watson services to build bots etc.
© 2015 IBM Corporation13
Device Single Sign-On (SSO)
• Enables a mobile user to authenticate once and gain access to all apps from the same
organization (technically, with the same developer certificate) without re-authenticating.
• Integration with DataPower, ISAM, and other gateways
App 1
secureMobileOSkey
store
IBM MFP
Server
App 2
ID
Session x
Session y
Duplicate
after
receiving
ID from
App 2
Implementation
Implemented using combination of
server-side capabilities (realms) and
unique device identification (device
ID)
On successful login the
authentication state is saved in the
database and used for validations in
subsequent sessions from the same
device.
© 2016 IBM Corporation 14Foundation @ajaychebbi
Protection of corporate APIs from hackers and
vulnerabilities
- App fingerprinting to prevent access to
your APIs from malicious apps
- Remote app disable and version
enforcement to protect users from security
vulnerabilities
- Use device whitelisting and blacklisting to
control the users and devices that access
your app
API
Comprehensive
Security
© 2015 IBM Corporation15
Disable or Notify the end user from admin console
© 2016 IBM Corporation 16Foundation @ajaychebbi
Device specific Authentication
Watch
Phone public class PinCodeAttempts extends CredentialsValidationSecurityCheck {
....
@Override
protected boolean validateCredentials(Map<String, Object> credentials) {
...
credentials.containsKey(PINCODE) || credentials.containsKey(PASSWORD))){
...
if(deviceType.equals(WATCH)){
if(pinCode.equals(getConfiguration().pinCode)){
errorMsg = null;
return true;
...
public class PinCodeChallengeHandler extends SecurityCheckChallengeHandler {
....
public PinCodeChallengeHandler(String securityCheck) {
...
JSONObject ans = new JSONObject();
ans.put("pin", intent.getStringExtra("pinCodeTxt"));
ans.put("deviceType", "WATCH");
submitChallengeAnswer(ans);
...
Security Adap
Watch
© 2015 IBM Corporation17
Application Security
Security
Application Security
Protecting data on the device
Authentication
integration
framework
Data protection
realms
Using device id
as 2nd factor
SSL with server
identity
verification
Proven platform
security
App authenticity
testing
Compatible with
Jailbreak /malware
detection
Secure challenge-
response on
startup
Encrypted offline
cache
Enforcing Security Updates
Remote disable
 Security for enterprise application is the biggest concern of CTO’s
 Rich Worklight security features can now be used
© 2016 IBM Corporation 18Foundation @ajaychebbi
Controlled backend integration
From multiple point-to-point integrations
• Multiple sets of integrations to enterprise resources to
build and maintain
• YOU manage caching, synchronization and end-to-
end encryption
To streamlined, transparent access
• Transform enterprise data into mobile-friendly JSON
• MFP Server manages caching, data
synchronization and end-to-end encryption
ERP
Engine
App DB Cloud
Service
WindowsAndroidApple
1
8
ERP
Engine
App DB
HTTP (REST, SOAP), JMS
SQL SAP
HTTP, CAST IRON
JSON
MFP
Cloud
Service
WindowsAndroidApple
© 2015 IBM Corporation19
MobileFirst Unified Push Notifications
From the complexity of many…
Multiple sets of push services to manage
To the simplicity of one…
Unified push management
Android
GCM
Apple
APNS
Apple
APNS
Android
GCM
APNS: Apple Push Notification Service
GCM: Google Cloud Messaging
WNS: Windows Notification Service
Windows
WNS
Windows
WNS
MFP Unified Push Framework
© 2015 IBM Corporation20
Unified Client and Server Analytics
 Out-of-the-box analytics address the following:
• User adoption, device and app properties
• User actions and called adapter procedures
• Performance and data usage information
• Exceptions, crashes, logs, response time
 Analytics component provided in a WAR for simple install and administration
© 2015 IBM Corporation21
Remote-controlled client-side log collection
• IBM MFP provides Native and JavaScript API for client-side logging
• Administrator defines log collection profiles on the server which are automatically retrieved by the
Worklight client-side runtime
• By default sent on init, resume, and 75% full – can be customized
• Administrator can perform analysis and text search of client-side
logs via server-side analytics console
© 2015 IBM Corporation22
Resources
MobileFirst Getting Started (documentation, CLI reference, sample adapters, etc…)
https://developer.ibm.com/mobilefirstplatform/documentation/getting-started/
Mobile First on Bluemix
https://console.ng.bluemix.net/catalog/services/mobile-foundation/
MobileFirst Support
http://stackoverflow.com/questions/tagged/mobilefirst
Meet us at
http://www.meetup.com/BlueCoders/
© 2015 IBM Corporation23
Thank You
ajay.chebbi@in.ibm.com
https://developer.ibm.com/mobilefirstplatform/
https://xamarin.com/ibm
Building a Xamarin Forms+MobileFirst app
http://ibm.co/1RN4hUg
Building Xamarin+MobileFirst app
https://dzone.com/articles/integrating-xamarin-apps-with-ibm-mobilefirst-plat
Tutorials
https://mobilefirstplatform.ibmcloud.com/tutorials/en/foundation/8.0/xamarin-
tutorials/
Sample Source on Github:
https://github.com/ajaychebbi/mobilefirst-samples/tree/master/xamarin/MFPNewsReader
© 2015 IBM Corporation24
Backup
© 2015 IBM Corporation25
Worklight Server: Adapters
Worklight Server
SQL / JDBC
ESB
SOAP / HTTP
JMS
CAST IRON
REST
Java
Extension
Node*
For the server developer
•JS anywhere: Simple APIs for server-side JavaScript development
•Extensibility: Java API for custom adapters
For the client developer
•Easy-to-use, consistent client-side API to call any back-end system
Enterprise back-ends and cloud
services
© 2015 IBM Corporation26
Seek community forum/support at Stack Overflow
http://stackoverflow.com/questions/tagged/mobilefirst

More Related Content

Recently uploaded

Call US Pooja 9892124323 ✓Call Girls In Mira Road ( Mumbai ) secure service,
Call US Pooja 9892124323 ✓Call Girls In Mira Road ( Mumbai ) secure service,Call US Pooja 9892124323 ✓Call Girls In Mira Road ( Mumbai ) secure service,
Call US Pooja 9892124323 ✓Call Girls In Mira Road ( Mumbai ) secure service,Pooja Nehwal
 
FULL ENJOY - 9999218229 Call Girls in {Mahipalpur}| Delhi NCR
FULL ENJOY - 9999218229 Call Girls in {Mahipalpur}| Delhi NCRFULL ENJOY - 9999218229 Call Girls in {Mahipalpur}| Delhi NCR
FULL ENJOY - 9999218229 Call Girls in {Mahipalpur}| Delhi NCRnishacall1
 
9892124323 | Book Call Girls in Juhu and escort services 24x7
9892124323 | Book Call Girls in Juhu and escort services 24x79892124323 | Book Call Girls in Juhu and escort services 24x7
9892124323 | Book Call Girls in Juhu and escort services 24x7Pooja Nehwal
 
BDSM⚡Call Girls in Sector 71 Noida Escorts >༒8448380779 Escort Service
BDSM⚡Call Girls in Sector 71 Noida Escorts >༒8448380779 Escort ServiceBDSM⚡Call Girls in Sector 71 Noida Escorts >༒8448380779 Escort Service
BDSM⚡Call Girls in Sector 71 Noida Escorts >༒8448380779 Escort ServiceDelhi Call girls
 
Powerful Love Spells in Arkansas, AR (310) 882-6330 Bring Back Lost Lover
Powerful Love Spells in Arkansas, AR (310) 882-6330 Bring Back Lost LoverPowerful Love Spells in Arkansas, AR (310) 882-6330 Bring Back Lost Lover
Powerful Love Spells in Arkansas, AR (310) 882-6330 Bring Back Lost LoverPsychicRuben LoveSpells
 
CALL ON ➥8923113531 🔝Call Girls Saharaganj Lucknow best sexual service
CALL ON ➥8923113531 🔝Call Girls Saharaganj Lucknow best sexual serviceCALL ON ➥8923113531 🔝Call Girls Saharaganj Lucknow best sexual service
CALL ON ➥8923113531 🔝Call Girls Saharaganj Lucknow best sexual serviceanilsa9823
 
CALL ON ➥8923113531 🔝Call Girls Gomti Nagar Lucknow best Night Fun service
CALL ON ➥8923113531 🔝Call Girls Gomti Nagar Lucknow best Night Fun serviceCALL ON ➥8923113531 🔝Call Girls Gomti Nagar Lucknow best Night Fun service
CALL ON ➥8923113531 🔝Call Girls Gomti Nagar Lucknow best Night Fun serviceanilsa9823
 

Recently uploaded (7)

Call US Pooja 9892124323 ✓Call Girls In Mira Road ( Mumbai ) secure service,
Call US Pooja 9892124323 ✓Call Girls In Mira Road ( Mumbai ) secure service,Call US Pooja 9892124323 ✓Call Girls In Mira Road ( Mumbai ) secure service,
Call US Pooja 9892124323 ✓Call Girls In Mira Road ( Mumbai ) secure service,
 
FULL ENJOY - 9999218229 Call Girls in {Mahipalpur}| Delhi NCR
FULL ENJOY - 9999218229 Call Girls in {Mahipalpur}| Delhi NCRFULL ENJOY - 9999218229 Call Girls in {Mahipalpur}| Delhi NCR
FULL ENJOY - 9999218229 Call Girls in {Mahipalpur}| Delhi NCR
 
9892124323 | Book Call Girls in Juhu and escort services 24x7
9892124323 | Book Call Girls in Juhu and escort services 24x79892124323 | Book Call Girls in Juhu and escort services 24x7
9892124323 | Book Call Girls in Juhu and escort services 24x7
 
BDSM⚡Call Girls in Sector 71 Noida Escorts >༒8448380779 Escort Service
BDSM⚡Call Girls in Sector 71 Noida Escorts >༒8448380779 Escort ServiceBDSM⚡Call Girls in Sector 71 Noida Escorts >༒8448380779 Escort Service
BDSM⚡Call Girls in Sector 71 Noida Escorts >༒8448380779 Escort Service
 
Powerful Love Spells in Arkansas, AR (310) 882-6330 Bring Back Lost Lover
Powerful Love Spells in Arkansas, AR (310) 882-6330 Bring Back Lost LoverPowerful Love Spells in Arkansas, AR (310) 882-6330 Bring Back Lost Lover
Powerful Love Spells in Arkansas, AR (310) 882-6330 Bring Back Lost Lover
 
CALL ON ➥8923113531 🔝Call Girls Saharaganj Lucknow best sexual service
CALL ON ➥8923113531 🔝Call Girls Saharaganj Lucknow best sexual serviceCALL ON ➥8923113531 🔝Call Girls Saharaganj Lucknow best sexual service
CALL ON ➥8923113531 🔝Call Girls Saharaganj Lucknow best sexual service
 
CALL ON ➥8923113531 🔝Call Girls Gomti Nagar Lucknow best Night Fun service
CALL ON ➥8923113531 🔝Call Girls Gomti Nagar Lucknow best Night Fun serviceCALL ON ➥8923113531 🔝Call Girls Gomti Nagar Lucknow best Night Fun service
CALL ON ➥8923113531 🔝Call Girls Gomti Nagar Lucknow best Night Fun service
 

Featured

2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by HubspotMarius Sescu
 
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTExpeed Software
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsPixeldarts
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthThinkNow
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfmarketingartwork
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024Neil Kimberley
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)contently
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024Albert Qian
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsKurio // The Social Media Age(ncy)
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Search Engine Journal
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summarySpeakerHub
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next Tessa Mero
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentLily Ray
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best PracticesVit Horky
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project managementMindGenius
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...RachelPearson36
 

Featured (20)

2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot
 
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPT
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage Engineerings
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
 
Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 

Building Xamarin mobile apps with IBM MobileFirst

  • 1. © 2015 IBM Corporation1 Connecting Xamarin Apps with IBM Mobile Foundation (a.k.a MobileFirst, Worklight) + @ajaychebbi - Sr. Architect, product development IBM Mobile Platform
  • 2. © 2016 IBM Corporation 2Foundation @ajaychebbi Development Engagement Security Operations Development Engagement Security Operations App developers are not able to focus on apps Developer time spent Value is in the mobile app
  • 3. © 2015 IBM Corporation3 The IBM MobileFirst SDK for Xamarin Xamarin Studio Integrated Services Create rich native applications in C# in Xamarin Studio leveraging enterprise grade app services that speed development and enhance app capabilities and performance. Security Authentication Integration Notifications App Management Analytics Offline Storage IBM Mobile Foundation On-prem or on Bluemix Cloud
  • 4. © 2015 IBM Corporation4 Adding the IBM Mobile Foundation SDK Component
  • 5. © 2015 IBM Corporation5 C# API documentation – available in the Component
  • 6. © 2015 IBM Corporation6
  • 7. © 2015 IBM Corporation7
  • 8. © 2015 IBM Corporation8 What do Xamarin developers get?
  • 9. © 2016 IBM Corporation 9Foundation @ajaychebbi Simple, scalable and proven enterprise mobile middleware deployable on- premises and on Cloud MobileFirst Foundation to protect from mobile- specific threats Mobile Analytics App Lifecycle Management Backend Logic Engine Push & Offline Sync Comprehensive Security to better understand your users to reduce time and costs of operations and incremental updates to add server-side logic to your app essential backend services that every app needs http://bit.ly/MFPAddSDK
  • 10. © 2015 IBM Corporation10 Enterprise Integration Worklight server provides a single secure point of integration into the Enterprise that speeds integration and enables management of mobile solutions APIM, Datapower, CastIron StrongLoop Integration hub HTTP(S) Database, WebService, REST, JMS MQ, File,FTP,SAP,Siebel etc : JDBC Web Service JMSJSON Enterprise Applications IBM Mobile Foundation SDK Deployed on prem, or Bluemix PUSH NOTIFICATIONS AUTHENTICATION BUSINESSLOGIC OFFLINESYNC MobileFirst Platform Foundation MANAGEMENT ANALYTICS SECURITY
  • 11. © 2016 IBM Corporation 11Foundation @ajaychebbi Bluemix Mobile Foundation Secure Gateway Deployment pattern on Bluemix Several services available on Bluemix to build your Backend logic Optionally connect to your On-prem datacentre
  • 12. © 2015 IBM Corporation12 IBM Bluemix A rich set of mobile ready APIs that you can mix and match to power your App Run Code The developer can chose from multiple language runtimes or bring their own. Just upload your code and go. Asp.net available. Store Data (SQL or NoSQL) The developer can store data in the cloud as a service easily without needing to administer the databases. Cloud Integration Build hybrid environments. Connect to on-premises systems of record plus other public and private clouds. Expose your own APIs to your developers. Cognitive Wide array of Watson services to build bots etc.
  • 13. © 2015 IBM Corporation13 Device Single Sign-On (SSO) • Enables a mobile user to authenticate once and gain access to all apps from the same organization (technically, with the same developer certificate) without re-authenticating. • Integration with DataPower, ISAM, and other gateways App 1 secureMobileOSkey store IBM MFP Server App 2 ID Session x Session y Duplicate after receiving ID from App 2 Implementation Implemented using combination of server-side capabilities (realms) and unique device identification (device ID) On successful login the authentication state is saved in the database and used for validations in subsequent sessions from the same device.
  • 14. © 2016 IBM Corporation 14Foundation @ajaychebbi Protection of corporate APIs from hackers and vulnerabilities - App fingerprinting to prevent access to your APIs from malicious apps - Remote app disable and version enforcement to protect users from security vulnerabilities - Use device whitelisting and blacklisting to control the users and devices that access your app API Comprehensive Security
  • 15. © 2015 IBM Corporation15 Disable or Notify the end user from admin console
  • 16. © 2016 IBM Corporation 16Foundation @ajaychebbi Device specific Authentication Watch Phone public class PinCodeAttempts extends CredentialsValidationSecurityCheck { .... @Override protected boolean validateCredentials(Map<String, Object> credentials) { ... credentials.containsKey(PINCODE) || credentials.containsKey(PASSWORD))){ ... if(deviceType.equals(WATCH)){ if(pinCode.equals(getConfiguration().pinCode)){ errorMsg = null; return true; ... public class PinCodeChallengeHandler extends SecurityCheckChallengeHandler { .... public PinCodeChallengeHandler(String securityCheck) { ... JSONObject ans = new JSONObject(); ans.put("pin", intent.getStringExtra("pinCodeTxt")); ans.put("deviceType", "WATCH"); submitChallengeAnswer(ans); ... Security Adap Watch
  • 17. © 2015 IBM Corporation17 Application Security Security Application Security Protecting data on the device Authentication integration framework Data protection realms Using device id as 2nd factor SSL with server identity verification Proven platform security App authenticity testing Compatible with Jailbreak /malware detection Secure challenge- response on startup Encrypted offline cache Enforcing Security Updates Remote disable  Security for enterprise application is the biggest concern of CTO’s  Rich Worklight security features can now be used
  • 18. © 2016 IBM Corporation 18Foundation @ajaychebbi Controlled backend integration From multiple point-to-point integrations • Multiple sets of integrations to enterprise resources to build and maintain • YOU manage caching, synchronization and end-to- end encryption To streamlined, transparent access • Transform enterprise data into mobile-friendly JSON • MFP Server manages caching, data synchronization and end-to-end encryption ERP Engine App DB Cloud Service WindowsAndroidApple 1 8 ERP Engine App DB HTTP (REST, SOAP), JMS SQL SAP HTTP, CAST IRON JSON MFP Cloud Service WindowsAndroidApple
  • 19. © 2015 IBM Corporation19 MobileFirst Unified Push Notifications From the complexity of many… Multiple sets of push services to manage To the simplicity of one… Unified push management Android GCM Apple APNS Apple APNS Android GCM APNS: Apple Push Notification Service GCM: Google Cloud Messaging WNS: Windows Notification Service Windows WNS Windows WNS MFP Unified Push Framework
  • 20. © 2015 IBM Corporation20 Unified Client and Server Analytics  Out-of-the-box analytics address the following: • User adoption, device and app properties • User actions and called adapter procedures • Performance and data usage information • Exceptions, crashes, logs, response time  Analytics component provided in a WAR for simple install and administration
  • 21. © 2015 IBM Corporation21 Remote-controlled client-side log collection • IBM MFP provides Native and JavaScript API for client-side logging • Administrator defines log collection profiles on the server which are automatically retrieved by the Worklight client-side runtime • By default sent on init, resume, and 75% full – can be customized • Administrator can perform analysis and text search of client-side logs via server-side analytics console
  • 22. © 2015 IBM Corporation22 Resources MobileFirst Getting Started (documentation, CLI reference, sample adapters, etc…) https://developer.ibm.com/mobilefirstplatform/documentation/getting-started/ Mobile First on Bluemix https://console.ng.bluemix.net/catalog/services/mobile-foundation/ MobileFirst Support http://stackoverflow.com/questions/tagged/mobilefirst Meet us at http://www.meetup.com/BlueCoders/
  • 23. © 2015 IBM Corporation23 Thank You ajay.chebbi@in.ibm.com https://developer.ibm.com/mobilefirstplatform/ https://xamarin.com/ibm Building a Xamarin Forms+MobileFirst app http://ibm.co/1RN4hUg Building Xamarin+MobileFirst app https://dzone.com/articles/integrating-xamarin-apps-with-ibm-mobilefirst-plat Tutorials https://mobilefirstplatform.ibmcloud.com/tutorials/en/foundation/8.0/xamarin- tutorials/ Sample Source on Github: https://github.com/ajaychebbi/mobilefirst-samples/tree/master/xamarin/MFPNewsReader
  • 24. © 2015 IBM Corporation24 Backup
  • 25. © 2015 IBM Corporation25 Worklight Server: Adapters Worklight Server SQL / JDBC ESB SOAP / HTTP JMS CAST IRON REST Java Extension Node* For the server developer •JS anywhere: Simple APIs for server-side JavaScript development •Extensibility: Java API for custom adapters For the client developer •Easy-to-use, consistent client-side API to call any back-end system Enterprise back-ends and cloud services
  • 26. © 2015 IBM Corporation26 Seek community forum/support at Stack Overflow http://stackoverflow.com/questions/tagged/mobilefirst