JSDO properties, methods, and events reference : authenticationModel property (Session class)
  

authenticationModel property (Session class)

Note: Deprecated in Progress Data Objects Version 4.4 and later. Please use the authenticationModel property (JSDOSession class) instead.
A string constant that you can set to specify the authentication model that a given web application requires for a mobile app to start a JSDO login session for this Session object.
Data type: string
Access: Readable/Writable
Applies to: progress.data.Session class
Valid values are:
*progress.data.Session.AUTH_TYPE_ANON — The web application supports Anonymous access. No authentication is required. This is the default value if you do not set it.
*progress.data.Session.AUTH_TYPE_BASIC — The web application supports HTTP Basic authentication and requires a valid username and password. To have the Session object manage access to the web application's resources for you, you need to pass these credentials in a call to the Session object's login( ) method. Typically, you would require the user to enter their credentials into a login dialog provided by your mobile app, either using a form of your own design or using a template provided by Progress Software.
*progress.data.Session.AUTH_TYPE_FORM — The web application uses HTTP Form-based authentication. Like HTTP Basic, Form-based authentication requires user credentials for access to protected resources; the difference is that the web application itself sends a form to the client to get the credentials. However, when you have the Session object manage access to the web application's resources, you handle Form-based authentication the same way that you handle Basic—get the user's credentials yourself and pass them to the login( ) method. The Session intercepts the form sent by the web application and handles the authentication without that form being displayed.
If the web application requires authentication, you must set this value correctly prior to invoking the login( ) method on this Session object in order to ensure that users can log in.
For more information on these authentication models and how to configure them for a web application, see the sections on configuring web server authentication models in the server documentation for your Data Object Service.

See also:

login( ) method (Session class)