- 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.
推薦閱讀
- Metasploit Penetration Testing Cookbook(Third Edition)
- Enterprise Cloud Security and Governance
- 工業(yè)控制網(wǎng)絡(luò)安全技術(shù)
- 軟件開(kāi)發(fā)安全之道:概念、設(shè)計(jì)與實(shí)施
- CTF競(jìng)賽權(quán)威指南(Pwn篇)
- 數(shù)據(jù)安全領(lǐng)域指南
- 華為防火墻實(shí)戰(zhàn)指南
- 人工智能安全(精裝版)
- 信息技術(shù)基礎(chǔ):提高篇·實(shí)驗(yàn)與習(xí)題
- 網(wǎng)絡(luò)空間安全法律問(wèn)題研究
- 聯(lián)邦學(xué)習(xí)原理與算法
- 網(wǎng)絡(luò)空間安全體系
- Developing Applications with Salesforce Chatter
- 惡意軟件、Rootkit和僵尸網(wǎng)絡(luò)
- AI+網(wǎng)絡(luò)安全:智網(wǎng)融合空間體系建設(shè)指南