Book Image

Data-Centric Applications with Vaadin 8

By : Alejandro Duarte
Book Image

Data-Centric Applications with Vaadin 8

By: Alejandro Duarte

Overview of this book

Vaadin is an open-source Java framework used to build modern user interfaces. Vaadin 8 simplifies application development and improves user experience. The book begins with an overview of the architecture of Vaadin applications and the way you can organize your code in modules.Then it moves to the more advanced topics about advanced topics such as internationalization, authentication, authorization, and database connectivity. The book also teaches you how to implement CRUD views, how to generate printable reports, and how to manage data with lazy loading. By the end of this book you will be able to architect, implement, and deploy stunning Vaadin applications, and have the knowledge to master web development with Vaadin.
Table of Contents (11 chapters)

Implementing Authentication and Authorization

Authentication is the process that ensures the identity of a user, usually done by providing a set of identifying credentials (username and password). Authorization is the security process that determines the access levels a user has in the application. In this chapter, we will continue with the development of the login form implemented in Chapter 3, Implementing Server-Side Components with Internationalization, by adding authentication and authorization features. We'll also learn how to implement the remember me option in the login form.

This chapter covers the following topics:

  • The HTTP session
  • Cookies management
  • Authorization and authentication mechanisms