Authentication and Multi-User Login
To begin this discussion of authentication and logging in multiple users, let’s go back to the login dialog you created in Chapter 13. With this dialog you can retrieve the user’s login data. Here we will check this data on the server side. There are numerous possibilities for checking login data. In this context, two Java built-in functions are focused on doing so. As soon as a user registered successfully, it is important to adapt the application referring to his or her rights or group membership.
Unable to display preview. Download preview PDF.