01.06.2013 Views

OpenEdge Development: Mobile Applications - Product ...

OpenEdge Development: Mobile Applications - Product ...

OpenEdge Development: Mobile Applications - Product ...

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Managing user login sessions<br />

If the credentials have been entered using a separate login page that the <strong>Mobile</strong><br />

App provides for the user to access, you must pass them explicitly as parameters<br />

to the login( ) method in order to have them sent to the <strong>Mobile</strong> Web application<br />

for authentication together with the session login request. In this case, the <strong>Mobile</strong><br />

Web application authenticates the user against the protected login target page,<br />

which can be the /static/home.html default or another protected page whose<br />

URI you pass explicitly to the login( ) method. If authentication against this login<br />

target page is successful, the user is authenticated and the login session to<br />

access <strong>Mobile</strong> services is established. All further access to <strong>Mobile</strong> Web<br />

application resources is provided according to the user’s authorization settings,<br />

and the <strong>Mobile</strong> App is now ready to load a JSDO catalog.<br />

Again, using these suggested options for designing a login sequence, at each point<br />

where the <strong>Mobile</strong> App is ready to load a JSDO catalog, user authentication has already<br />

occurred against a protected <strong>Mobile</strong> Web application resource prior to requesting a<br />

<strong>Mobile</strong> resource.<br />

<strong>OpenEdge</strong> ® <strong>Development</strong>: <strong>Mobile</strong> <strong>Applications</strong> 121

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!