Customizing login for mobile devices
Customize the login procedure for the Connections Mobile app.
About this task
If additional information needs to be displayed, or if additional authentication challenges must be presented to the mobile user during login, different steps are performed.
Procedure
-
If a disclaimer or terms of usage needs to be displayed when a user logs in, but you do not
need to record whether or not the user reads it or accepts it, then the
TermsOfUsageURL setting can be used. The value of
TermsOfUsageURL should point to a static HTML page. When
TermsOfUsageURL is set, the Connections Mobile app displays the web page
pointed to by the URL during login. When the web page is displayed, the app provides the user with
options to either cancel or continue the login.
-
If you wish to present additional challenge questions, or record the fact that the user
accepted the disclaimer or terms of usage, then use the information page settings
InfoPagePathPattern, InfoPagePositivePathPattern, and
InfoPageNegativePathPattern. The information page settings allow you to
redirect the login process to a service, typically a servlet, that displays an HTML page during
login. This HTML page can contain additional challenge questions or record when a user accepts or
rejects a disclaimer or terms of usage. The app displays the HTML page during login and does not
provide any options to the user. All options on the web page, such as input answers or accept or
reject options, are provided by the web page.
During the login process, the app monitors all redirect requests, and if a redirect to a URL matching the regular expression that is provided by InfoPagePathPattern is detected, the app displays the web page at that URL in a web view. As the user interacts with the web page, the app monitors all requests to load URLs in the web view. If a URL matching the regular expression provided by InfoPagePositivePathPattern is detected, then the app dismisses the web view and continues the login process. If a URL matching the regular expression provided by InfoPageNegativePathPattern is detected, then the app dismisses the web view and fails the login.