- Hands-On Spring Security 5 for Reactive Applications
- Tomcy John
- 135字
- 2021-07-23 18:59:23
Running the application
Run the project by executing the mvn jetty:run command. Once you see the log shown in the following screenshot, open a browser and go to http://localhost:8080:
Figure 09: Jetty Server running - console log
Once you access the URL, the browser prompts with a default basic authentication dialog, as shown in the following screenshot. Enter the Username and Password as admin/admin@password and click on Log In:

Figure 10: Basic authentication dialog in the browser
If your credentials are correct and if the user has either the ADMIN or USER role, you should see the home page as follows:
Figure 11: The home page after successful login
The full project code is available on the book's GitHub page ( https://github.com/PacktPublishing/Hands-On-Spring-Security-5-for-Reactive-Applications) within the jetty-db-basic-authentication project.
推薦閱讀
- 數(shù)據(jù)恢復(fù)方法及案例分析
- 特種木馬防御與檢測技術(shù)研究
- Rootkit和Bootkit:現(xiàn)代惡意軟件逆向分析和下一代威脅
- 暗戰(zhàn)亮劍:黑客滲透與防御全程實錄
- 等級保護測評理論及應(yīng)用
- INSTANT Windows PowerShell
- Learning Veeam? Backup & Replication for VMware vSphere
- 諸神之眼:Nmap網(wǎng)絡(luò)安全審計技術(shù)揭秘
- 可信計算3.0工程初步(第二版)
- Web安全之深度學(xué)習(xí)實戰(zhàn)
- Bug Bounty Hunting Essentials
- 信息內(nèi)容安全管理及應(yīng)用
- Securing Network Infrastructure
- CPK通向賽博安全之路:理論與實踐CPK Solution to Cyber Security:Theory and Practice
- 網(wǎng)絡(luò)安全設(shè)計