- 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.
推薦閱讀
- 攻守道:企業(yè)數(shù)字業(yè)務(wù)安全風(fēng)險與防范
- Kali Linux Social Engineering
- 電子支付的規(guī)制結(jié)構(gòu)配置研究
- 計算機病毒分析與防范大全(第3版)
- 黑客攻防與無線安全從新手到高手(超值版)
- 同態(tài)密碼學(xué)原理及算法
- Applied Network Security
- 局域網(wǎng)交換機安全
- 解密彩虹團(tuán)隊非凡實戰(zhàn)能力:企業(yè)安全體系建設(shè)(共5冊)
- 網(wǎng)絡(luò)安全與攻防入門很輕松(實戰(zhàn)超值版)
- 信息技術(shù)基礎(chǔ):提高篇·實驗與習(xí)題
- VMware vCloud Security
- Mastering Linux Security and Hardening
- 網(wǎng)絡(luò)安全實戰(zhàn)詳解(企業(yè)專供版)
- 交換機·路由器·防火墻(第2版)