Challenge: Use Form-based Authentication With PrimeFaces
Implement form-based authentication with PrimeFaces in this challenge.
We'll cover the following
Problem statement
Combine form-based authentication with PrimeFaces from "Introduction to BASIC Authentication" and credential storage in the database from "Database as IdentityStore."
Try it yourself
Note: Your code will go in the following methods, with the respective files in the widget below.
ApplicationConfiguration.java
@FormAuthenticationMechanismDefinition
@DatabaseIdentityStoreDefinition
DatabaseSetup.java
init()
newUserGroup()
newUser()
Get hands-on with 1400+ tech skills courses.