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

Introduction


In this chapter, you will learn how to secure your WildFly system configuration using different methods. Securing the configuration means hiding sensitive data, such as passwords, from other people who might collaborate on your project or system in one way or another.

This goal can be achieved in different ways:

  • Using property files to externalize the dynamic parameters, such as bindings, credentials, and so on

  • Hashing passwords—this is a quite common technique

  • Storing passwords in a vault—this is the most secure method that you can use to protect your passwords

The first approach is not a totally secure one, thus it's a clean method to customize your settings. Still, it can give the freedom to distribute your configuration files without worrying about security concerns because there will just be default settings in it and nothing more. Furthermore, each of your WildFly infrastructure environments can rely on different property files. Configuration is the same; you just deliver a...