- Hands-On Spring Security 5 for Reactive Applications
- Tomcy John
- 61字
- 2021-07-23 18:59:22
Step 9—JSP creation
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.
推薦閱讀
- 網(wǎng)絡(luò)安全應(yīng)急管理與技術(shù)實(shí)踐
- Practical Network Scanning
- 黑客攻防技巧
- 黑客攻防與無(wú)線安全從新手到高手(超值版)
- 防火墻技術(shù)與應(yīng)用(第2版)
- Spring Security(Third Edition)
- 網(wǎng)絡(luò)安全與攻防入門(mén)很輕松(實(shí)戰(zhàn)超值版)
- Mastering Reverse Engineering
- 博弈論與數(shù)據(jù)安全
- 空間群組密鑰管理研究:基于自主的深空DTN密鑰管理
- Learning Pentesting for Android Devices
- CTF特訓(xùn)營(yíng):技術(shù)詳解、解題方法與競(jìng)賽技巧
- 信息安全工程與實(shí)踐
- 云計(jì)算安全防護(hù)技術(shù)
- 黑客攻擊與防范實(shí)戰(zhàn)從入門(mén)到精通