Skip to content

MobileFirst-Platform-Developer-Center/MFPSecureGatewayIonic

Repository files navigation

IBM MobileFirst Platform Foundation

MFP SecureGateway Ionic

A sample Ionic application with MobileFirst Capabilities which demonstrate getting the data hosted in on-premses environment via HTTP adapter through Secure Gateway service

Usage

  1. Use either Maven, MobileFirst CLI or your IDE of choice to build and deploy the available UserLogin adapter and JavaHTTP Adapter .

    The UserAuthentication Security Check adapter can be found in https://github.com/MobileFirst-Platform-Developer-Center/SecurityCheckAdapters/tree/release80

    The JavaHttp adapter can be found here https://github.com/MobileFirst-Platform-Developer-Center/MFPSecureGatewayIonic/tree/master/JavaHTTP

  2. From a command-line window, navigate to the project's root folder and run the commands:

  • ionic cordova plugin add cordova-plugin-mfp - to add MFP plugin
  • ionic cordova platform add - to add a platform.
  • mfpdev app register - to register the application.
  • mfpdev app push - to map the accessRestricted scope to the UserLogin security check
  • ionic cordova run ios|androoid -- --buildFlag="-UseModernBuildSystem=0" - to run the application.
  1. Run the application in an Android Emulator, iOS Simulator, Browser or physical device.Login with a credentials in Login page and press the Fetch Acme Writers button to recieve the data from on-premises environment.

Node JS HTTP Project

A sample node js project which creates a HTTP endpoint in on-premises/local environment whith sample data hosted on it.

Usage

  1. From a command-line window, navigate to the project's root folder and run the commands:
  • npm install - to install package depenedencies
  • node app.js -to start a server

Supported Levels

IBM MobileFirst Platform Foundation 8.0

License

Copyright 2018 IBM Corp.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at att http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published