+

Search Tips   |   Advanced Search

Configure the authentication for web widgets

Add a realm to authenticationConfig.xml.

TauthenticationConfig.xml. in the Worklight Project Name/server/conf folder, is used to configure how widgets and web applications authenticate users.

For more information about configuring realms, see MobileFirst security framework.

In authenticationConfig.xml. add a realm that uses the login forms, as follows:

<realm name="realm-name" loginModule="login-module-name">
<className>com.worklight.core.auth.ext.FormBasedAuthenticator</className>
<parameter name="login-page" value="/apps/services/login-file-name" />
</realm>


Parent topic: Development guidelines for desktop and web environments