Configuration Values
Understand the details of configuration values and the key derivation function as password hashing.
We'll cover the following
Overview
It is, of course, not good practice to hardcode passwords within the code. However, we’ve done it that way in our examples as a quick shortcut. The Security API allows an EL expression instead of a hardcoded value in the member values of the annotation. We should therefore specify the password (and other configuration values, such as the URL) as a reference to a CDI bean property.
Get hands-on with 1400+ tech skills courses.