Running the application

From the root of the project, execute the following command:

mvn jetty:run

Open a browser and navigate to http://localhost:8080. You will be provided with a dirty-looking login page. Enter username/password (admin/password or user/password) and you will be navigated to the root page (user.jsp).

This completes our JAAS example using Spring Security. As shown in Figure 8 above, JAAS can be used to achieve authentication using other protocols. One of the well-known mechanism is authentication using Kerberos protocol. Next brief section gives you a rough idea of how JAAS can be used to achieve Kerberos based authentication.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.137.167.224