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

Custom authentication


It is possible that these Worklight-provided authentications do not fulfill your requirements. In such scenarios, Worklight provides you with an ability to create custom realms, login modules, and security tests based on your specific needs.

In this case, you will create your custom Java class that implements the WorkLightAuthenticator interface in order to create an authenticator. Similar to creating a custom login module, you need to extend the WorkLightLoginModule interface.

The login module will create a request object that contains the user ID and password, and based on the user-specified validation, it will create a user identity object, that is, a session object.

For more information on custom authentication, please refer to IBM Worklight Info Centre (http://pic.dhe.ibm.com/infocenter/wrklight/v5r0m6/index.jsp?topic=%2Fcom.ibm.help.doc%2Fwl_home.html).