A sample application demonstrating use of the CredentialsValidation Security Check.
- Use either Maven, Mobile Foundation CLI or your IDE of choice to build and deploy the available
ResourceAdapter
andPinCodeAttempts
adapters.
The PinCodeAttempts Security Check adapter and the Resource adapter can be found in https://github.com/Persistent-Mobile-Foundation/SecurityCheckAdapters.
- From a command-line window, navigate to the project's root folder and run the commands:
pmfdev app register
- to register the application.pmfdev app push
- to map theaccessRestricted
scope to thePinCodeAttempts
security check.
- Run the application in the Android Emulator or physical device. Press the Get Balance button and enter "1234" to display the balance.
PSL Mobile Foundation 9.0