authentication of the MAF offline applications

I have a requirement for application of MAF be sometimes used as offline (IE, it will be no wifi or network coverage, use local db to save data & synch when back in a coverage area). Users are perhaps out to these places for days. Is it possible to configure the security of the MAF to always use a local credential store if there is no network connection? Or what I need to do a process of authentication/login custom complete using local DB

I found this in the documentation:

"MAF authenticates with the local credential store after a period of inactivity, but does not perform this authentication after a session time-out.

http://docs.Oracle.com/middleware/mobile200/mobile/develop/MAF-securing.htm#ADFMF1297

This means that, even if the user authenticates themselves when they have access to the network before they don't direct to the site, they will be required to reauthenticate when the session timeout is reached and will not be able to due to no access to the network? If so can I get around this by assigning values high session & timeout numbers?

> This means that, even if the user authenticates themselves when they have access to the network until they're on the site, they will be required to authenticate again when the session timeout is reached and will not be able to due to no access to the network? If so can I get around this by assigning values high session & timeout numbers?

Yes, it is the concept of how offline, authentication works. You connect once when you are connected, we save your user/pass on the device, and then for as long as specified by the parameters, you will be able to connect offline.

Tags: Oracle Mobile

Similar Questions

  • Application of the MAF: Unfortunately the Application has stopped error

    Hello

    I have an ADF application with simple page Login.jspx. This application was obtained from the ADF. I have deployed this application on my weblogic server.

    Now, I wanted my MAF request must be authenticated against this resource of the protected application.

    I developed an application of CRG using JDeveloper 12.1.3.0 and created a feature, enabled him to safety.

    At the CRG - application.xml, I set up a server of connection with the server of Type HTTP Basic authentication and provided http://zoyadfmobile.in:7001/MAFAuthentication/faces/Login.jspx as my login and logout URLs.

    It asks password and user id. But once I press the "connect" button, it gives me the error "Unfortunately < application name > stopped. "and it closes the application.

    I don't know what goes wrong. The same application worked well in ADF Mobile.

    Help, please.

    Thank you

    Mehabub

    Hi Laura,

    Thank you for your response. I solved it. Actually at the CRG, we need to grant access to the network too. Missing form my request.

    Thank you

    Mehabub

  • A-team - MAF Persistence Framework - is available for the MAF and it is an approach recommended by Oracle for Application Data Sync?

    Hi OTN community.

    My query is on Oracle team Persistence framework (http://www.ateam-oracle.com/going-mobile-with-adf-implementing-data-caching-and-syncing-for-working-offline/).

    It is available for the MAF and it is an approach recommended by Oracle for the implementation of data synchronization?

    Can anyone please share their experience using this extension.

    We are currently reviewing the best approach for the implementation of data synchronization.

    Best regards

    Deepak

    See: persistence of the MAF Oracle for SQLite

    Frank

  • Cannot deploy the sample applications of the MAF

    I try to install some of the sample applications on the MAF ( jdev_install/jdeveloper/jdev/extensions/oracle.maf/Samples Directory) on my Android (version 4.4.2) phone without success.

    I use jDev build JDEVADF_12.1.3.0.0_GENERIC_140521.1008.S

    If I have a deployment on an Android package using default deployment profiles, I get the following error:

    "Impossible to deploy the profile because the project 'ViewController.jpr' is not a MAF ApplicationController or ViewController project. (oracle.adfmf.framework.dt.deploy.features.deployers.FeatureArchiveDeployer).

    I searched this error in this forum and found this:

    MAF: Build Error "adfmf - not found feature.xml.

    Then I updated the patch of the MAF, and I still get the same error.

    I then fiddled around a bit dependencies of properties/deployment/Android1/Application Profile

    Now I can deploy on my phone, but the application hangs on the splash screen.  Can anyone advise on what things should be checked in the profile dependencies?

    Profile Dependencies.JPG

    OK, I finally understood what is the question.

    After installing the patch of the MAF, jDev so ask to restart your computer, but for some reason any on my computer this can last from a few minutes to a few days!  The first time that I installed the patch, after a reboot, through the Assistant jDev update request I clicked on OK and jDev stop and waited so he could restart. 5 minutes later, it started so I thought I'd launch myself, so I did.  But what I didn't know that in my list of system processes, jDev was still working (perhaps even install the patch).  Here's a screenshot of my system process (that I took during my third attempt, since I suspect something):

    Thus, while this process jDev was hanging out, I started jDev myself and ended up having two jDev processes running.  One that I started manually didn't have the MAF Patch applied, but I thought he did it because I just went through the Update Wizard.

    And so all the trouble, I have tried to deploy the sample applications of the MAF.

    I didn't knew that this much later because a few days later, a splash jDev screen suddenly arisen WHILE I was USING jDev, I knew was because the first time, install the patch jDev prompted to restart the computer.

    Only on the third time reinstall jDev and the patch of the MAF has waited more jDev to restart, and when he finally did restart on its own (3 minutes later) that I checked my installation of the fix for the MAF and found that it was installing successfully.

    I then tried to deploy the sample applications of the MAF again and this time it worked.

    So, in summary, because he took if jDev long reboot after installation of the patch of the CRG, I advanced and started jDev myself, but this instance of jDev, I started upward has not installed the fix of the MAF, and so the trouble I had to deploy the samples of the MAF.

    I hope that something can be improved here so that other users the same tracks as I do not work in the same problems in the future.  It can be as simple as a message before reboot in saying the user to wait jDev restart on its own, otherwise their patch will not install.

    Thanks for your time.

  • Application loader stuck on "authentication with the iTunes store."

    I'm trying to submit my app via iTunes Connect. I was stuck on "authentication with the iTunes store" for more almost 20 min. Is this normal? Something wrong?

    Screen Shot 2014-09-10 at 9.09.24 PM.png

    I followed the Guide step by step Adobe publishing applications iPad and everything went smoothly thanks to the DPS App Builder. I was able to download both the app developer .ipa and distribution app .zip following the steps very well. But eventually, all measures are useless: interface of iTunes Connect has changed since the guide Adobe did, and now I'm completely lost.

    I downloaded the app Loader and try to submit this .zip app developer I have to iTunes Connect via the Application Loader. But in vain.

    Any help would be really appreciated. Thank you

    You can ignore this warning. You will, however, probably to encounter other errors. Please see http://status.adobedps.com/ for later.

    Neil

  • Unable to deploy the MAF application on the emulator or device in the last downloaded SDK

    Hello

    Jdev: 12.1.3

    I was working at the request of the MAF with old android SDK, which has been downloaded a few months back.

    I downloaded the latest SDK the android site form. But now the app is not deployed.

    It throws the below error:

    After a throwugh search blogs I have deployed the apk file directly on the device, but then the initial screen of Red Oracle load forever and I do not get the intended page.

    Please help me.

    [11: 08:52] Server Android Debug bridge closure...

    [11: 08:52] undeployment.

    [11: 08:52] - incomplete deployment.

    [11: 08:52] deployment failed due to one or more errors returned by "C:\Hari\Softwares\Android\android-sdk\platform-tools\adb".  What follows is a summary of the returned error:

    Failure [DELETE_FAILED_INTERNAL_ERROR]

    MAF 2.0.1.2.0 is not compatible Android 5 Lollipop (API 21).  You can leave installed in the SDK, but all 21 API also download API 19 and use instead.

    Lollipop support is coming in the next version of MAF due.

    CM.

  • Keyboard does not work after authentication on the RDS Session host

    When you connect to the RDS through the access portal or app keyboard does not work after authentication on the RDS session host. Offline authentication works very well, past will guide you to the RDS host, then when you try to reset your password, the keyboard does not work.

    Has anyone else had that... ?

    Options (some better than others!) are:

    1. move all MS applications seamless

    2. have an application named "Reset your password" (or similar) which uses MS Seamless.then you can leave other applications, as they are

    3 disable authentication carried forward and implemented our service reset password instead so people reset their password before can connect you.

    4. use the full desktop instead of transparent

  • Why Apple has the code of two factor authentication on the same device that I log in with?

    I just installed Sierra and chose to use the two factor authentication with my iPhone chosen as a device to receive the code.

    But then, Apple displays a digit code 6 on my Mac itself and then asked me to go on my Mac.

    What sense does that make?

    A wild guess - were you log into your account in Safari on Mac when he showed you the digit code 6 on Mac? And you had already completed the sign-in icloud in System Preferences?

    If so, the macOS has been approved, but Safari wasn't. If macOS was able to show the code. It seems strange to first have the same computer application and provide the code, but really it is two layers of security and you had gotten through the first layer already.

  • Login, authentication of the ADF page rendering problem

    Hi all

    I use Jdev12c and authentication of the ADF configuration in my application. MY login pages are not html and JSF pages. After you set up the security of the skin on the login page stops working. The drawn solution of article https://blogs.oracle.com/jdevotnharvest/entry/solving_jdeveloper_11gr2_issue_with does not help (which seems to be incomplete).

    Now, reading autour, I made an assumption are the result of changes and it seems to work. But I don't know if it can cause any problem of security in the merger application. Any idea/thoughts?

    < security constraint >

    < web-resource-collection >

    allPages < web-resource-name > < / web-resource-name >

    < url-pattern > /visages / * < / url scheme >

    (it was < url-pattern > / * < / url-pattern >)

    < / web-resource-collection >

    <>auth-constraint

    valid users - < role name > < / role name >

    < / auth-constraint >

    < / security constraint >

    (There is also a page-def on the login page and the model used for the login page).

    Thank you!!

    Mrig

    Very well. Figured out.

    According to what little I learned about the web.xml file, I had to follow processes & groping to find resources which create problem. So Pagedef and models are not the problem which might have been in previous versions of Jdev. I added ' / resources/images / * ' under web-resource-collection.

    Authorized resources ADF

    information/images / *.

    allPages

    faces *.

    (it was / *)

    valid users

    I thought the CSS files and templates like that I used on the login page.

    Thanks for the help and suggestions!

  • Oracle of the MAF: Activate the Navigation controls for goLink

    Hello!

    I have installation media icons to make it easy for our community of users to 'love' or 'share' content, connect, tweet, etc...

    When the user clicks on the icon URL is launched in the display pages Web of the MAF.  UNFORTUNATELY the navigation controls are grayed out.  For this reason my users aren't able to return easily to the mobile application.   How to enable navigation controls for a URL that is launched in a goLink?

    Of course: I have the URL in my white list (under MAF - application.Xml-> Security).

    Please let know us at your earliest.  Thank you!

    TreeStrepek

    The solution to this is to
    ..............................

    1. Yes - set whitelist URL as shown above.
    2. Create each destination site in as long as separate function type = "Remote URL"
      1. This launches the Web site inside of a display of web pages (navigation, web inter view control, then another social media link resets source feature can be selected)
    3. Set the AMX page with components commandLink (icon only, no text)
    4. For each commandLink (that is to say-twitter icon or fb icon, etc...)
      1. Action = #{newsBean.goTwitter}
    5. The newsBean class will have a method "goTwitter".  Inside there is 1 line of code.
      1. gotoFeature ("URL remote FeatureID").

    It's beautiful.  It works as expected.

  • The MAF project has been configured with an unsupported JDK

    Hello

    I am facing problem in jdevloper for implementation of the MAF. I have provided the JDK 1.8 version. But it still gives the following error.

    'D:\Jdev ADF Home\mywork\MyMobileApp\ApplicationController\ApplicationController.jpr' project has been configured with an unsupported JDK.  Make sure that the "profile 2 Compact MAF JDK 1.8 & quot; is used.

    Type or a variable 'oracle.adfmf.application.LifeCycleListener' not found.

    Jdev Version: Studio Edition Version 12.1.3.0.0

    Extension of the MAF: 2.1.0.0.41.150115.1352

    Please suggest me to fix this problem.

    Thank you

    SAN

    Simply change name Java SE 1.8.0_40 to the MAF JDK 1.8 Compact 2 profile

    I guess it will solve your problem.

  • The MAF runtime apps

    MAF apps require any server (running ADF/MAF) when running? Or, once developed and deployed on Google/Apple Store, become developed native 100% like applications in their native environment?

    I thank very you much.

    NAT

    Mobile app don't work of course no server settings side are enough.

    Android:

    ------------------

    Android application package (APK) is the file format used to distribute and install the software application andmiddleware on Google's Android operating system .

    apk file is generated by the MAF, and can be used for distribution.

    iOS

    -----------

    A .ipa file is a file to archive application iOS that stores an iOS app.

    IPA file is generated by the MAF, and can be used for deployment.

  • [MAF - AMPA] Strange behavior of the MAF with REST service

    Hi MAF Experts.

    I just noticed that there is a strange behavior in my application of the MAF. The first loading of the page, amx:page does not make its contents (of REST). However if I kill the app and relaunch the app, content appears.

    Pattern:

    1. Start of the CRG App
    2. Opening of session
    3. Dashboard (the content is rendered)
    4. Go to any other aspect (lets say a list of products)
    5. Open product list (content do not get returned)
    6. Kill the MAF application
    7. Start of the CRG App
    8. Dashboard (the content is rendered)
    9. Go to the product list
    10. List of products (content gets rendered)

    I put a few breakpoints on EntityCRUDService and RestPersistenceManager.

    So far it return the list of entities and display the correct data (from watches in debug mode)

    Last thing I noticed is the red color below. She defined the EntityList with the new value of REST (This displays a correct value).

    TaskExecutor.getInstance (.execute (isDoRemoteReadInBackground ())

    , () -> {

    Auto Sync all actions pending first, pass false for inBackground because

    We want to process actions pending before the reading distance

    getDataSynchManager (.synchronize (false));

    The list of entities < E > = executeRemoteFindAll();

    If (entities! = null)

    {

    When an error occurs (for example server is not available, the method returns the value zero)

    setEntityList (entities);

    }

    });

    Any suggestion?

    All the rest service are configured with AutoQuery = true in the persistence - mapping.xml

    See you soon,.

    Hendry

    Hendry,

    Thanks your testcase, I was able to understand the problem.

    It turns out that MAF 2.1 has problems dealing with the advanced way in which AMPA running background tasks with the help of a thread in all of features.

    We have slightly modified the implementation in AMPA to use one thread per function and now the update issue is resolved. I sent you a link to new construction.

    We will publish the new generation soon on GitHub so that others can benefit in the same solution.

    Steven Davelaar,

    Oracle Mobile A-team.

  • Basic application deploys Oracle MAF (Mobile Application Framework) not in iOS emulator

    Hello


    I tried to create and deploy an application of MAF in iOS with xCode emulator 7.


    This is the main application and have only a single Local HTML according to the oracle of the MAF iOS emulator deployment documentation.


    But it is giving following error and failed to deploy.


    [14: 15:45] copy of security related files at the request of the MAF...

    [14: 15:45] run command-line path: / users/Monachino/jdeveloper/mywork/MyApplication/deploy/iOS2/temporary_xcode_project /.

    [14: 15:45] run command line: /Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild own installation - configuration Debug - sdk /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator7.0.sdk DSTROOT = / users/Monachino/jdeveloper/mywork/MyApplication/deploy/iOS2/Destination_Root/IPHONEOS_DEPLOYMENT_TARGET = 6,0 TARGETED_DEVICE_FAMILY = 1, 2 PRODUCT_NAME = MyApplication ADD_SETTINGS_BUNDLE = NO

    [14: 16:06] orders for next generation failed:

    [14: 16:06] command-line execution failed (return code: 65)

    [14: 16:06] undeployment.

    [14: 16:06] - incomplete deployment.

    [14: 16:06] could not build the iOS application pack.

    [14: 16:06] deployment failed due to one or more errors returned by ' / Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild'.  What follows is a summary of the returned error:

    Command-line execution failed (return code: 65)


    Orders for next generation failed:

    LD /Users/surajit/jdeveloper/mywork/MyApplication/deploy/iOS2/Destination_Root/Applications/MyApplication.app/MyApplication normal i386

    (1 failure)

    The same application works very well with Android and I work with JDeveloper 12.3


    Need help to solve. I've been stuck for two days already.


    Another point, when I work with the mobile app (ie the older version of MAF) ADF is the deployment and work successfully.

    Thank you

    Ajoy Sinha


    You use Xcode 5.1.1 to deploy applications of MAF now.

  • Oracle of the MAF: Incorrect alignment in the user interface

    Currently working on the MAF to design an application. but I am unable to align the fields in perfect order... I described the width of each field to be the same. but still do not get the same alignment for all fields when folding of the emulator. Please suggest on this issue. It will be very useful. Thanks in advance

    I'm not sure what you aim to achieve specifically but in your example, the fields are not actually inside the panelGroupLayout component - is this intentional?

    Also - what using an amx:panelFormLayout to surround the fields?

    autoCapitalize = 'auto' AutoCorrect 'auto' inlineStyle = = "" max-width: 20 cm; "/ >"

Maybe you are looking for