Book Image

Wildfly Cookbook

Book Image

Wildfly Cookbook

Overview of this book

Table of Contents (23 chapters)
WildFly Cookbook
Credits
About the Author
Acknowledgments
About the Reviewers
www.PacktPub.com
Preface
Index

Integrating with OpenLDAP


In this recipe, you will learn how to integrate OpenLDAP to provide a user base for our RBAC provider. In an enterprise environment, you usually find databases where companies store their users. Those databases typically have some kind of structure which defines roles, profiles, and/or groups for each user.

For example, people connecting to a server may or may not see certain files or directories. People accessing an application may or may not find a particular functionality; that could be the case of the WildFly Web Console. LDAP is a protocol used by many databases that are used to store those users' grants. There are many of them such as the Microsoft Active Directory, but to keep us on track with the open source world, we will see and use the OpenLDAP tool.

Getting ready

For this recipe, you will use a ready-to-use OpenLDAP server as the installation of the OpenLDAP server is out of the scope of this book.

Nonetheless, we will use the LDAP structure defined in the...