Domain protection with authentication

Authentication is whatever process, task, and/or policy is used to define who can access your domain. It's like, for example, a badge that you use to access your office.

In applications, the most common use of authentication is to allow access to your domain to users who are already registered.

This recipe will show you how to use a simple code and configuration to control who can and who cannot access some of the resources of your application.

Get Java EE 8 Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.