July 2018
Intermediate to advanced
268 pages
7h 36m
English
Our home page is a very simple JSP file, as shown in the following code snippet. This JSP just displays a message that we have constructed in our HomeController class:
<%@ page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1"%><!DOCTYPE html><html><head> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> <title>Spring Security</title></head><body><h1>Spring Security Sample</h1><h2>${msg}</h2></body></html>
This is now the base Spring MVC application, and with this we will try to set up various authentication mechanisms.
Read now
Unlock full access