- 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.
推薦閱讀
- 數字身份與元宇宙信任治理
- API安全實戰
- 網絡空間安全:管理者讀物
- 可信計算3.0工程初步(第二版)
- API安全技術與實戰
- 數據安全與流通:技術、架構與實踐
- End to End GUI Development with Qt5
- Disaster Recovery Using VMware vSphere Replication and vCenter Site Recovery Manager
- VMware vCloud Security
- 數字政府網絡安全合規性建設指南:密碼應用與數據安全
- Kali Linux高級滲透測試(原書第4版)
- 信息內容安全管理及應用
- Hands-On Bug Hunting for Penetration Testers
- 惡意軟件、Rootkit和僵尸網絡
- 云安全深度剖析:技術原理及應用實踐