Book Image

IBM Worklight Mobile Application Development Essentials

Book Image

IBM Worklight Mobile Application Development Essentials

Overview of this book

Table of Contents (15 chapters)
IBM Worklight Mobile Application Development Essentials
Credits
About the Authors
Acknowledgement
About the Reviewers
www.PacktPub.com
Preface
Index

Examining generated realms, security test, and login modules


Realms, security tests, and login modules are defined in the authenticationConfig.xml file located at the server/conf folder of a Worklight project.

Open your Worklight project and locate the authenticationConfig.xml file and check for the following entries that are present by default to help you quick start with it:

Worklight application's authenticationConfig.xml file's location

Let's create a new Worklight project and examine what realms, security tests, and login modules are generated for us by default.

Generating realms

We can see that the following realms have been generated by default, which we can use or customize further:

<realms>
   <realm name="SampleAppRealm" loginModule="StrongDummy">
   <className>com.worklight.core.auth.ext.FormBasedAuthenticator</className>
  </realm>
   <realm name="WorklightConsole" loginModule="requireLogin">
   <className>com.worklight.core.auth.ext.FormBasedAuthenticator...