|
所在平台: Udemy |
课程主页: https://www.udemy.com/course/keycloak-spring-security-bootcamp-api-auth-for-news-app/
课程评论:没有评论
**Coursera课程总结:Keycloak & Spring Security Bootcamp: API Auth for News App** 本课程为期实战,旨在教授学员如何利用Keycloak和Spring Security为新闻资讯应用开发一个安全的RESTful API。 **课程亮点:** * **Hands-on Experience:** 在学员自己的电脑上,通过实践操作,一步步构建一个新闻文章检索API,并赋予其Keycloak和Spring Security保护。 * **循序渐进的学习路径:** 从Keycloak和Spring Security的基础知识入手,深入讲解OAuth 2.0令牌颁发流程,并教授如何使用Spring构建RESTful API,最后实现基于令牌和角色的访问控制。 * **深度实践学习:** 课程提供全面的API授权知识,通过大量动手实践,让学员真正掌握API安全的核心技术。 * **区别于传统学习资源:** * **自包含性强:** 无需额外查阅资料,课程内容完整,确保学习过程的顺畅。 * **注重原理:** 对每项技术和操作的背景知识、原因进行细致讲解,帮助学员深入理解。 * **离线学习:** 所有讲师视频均可下载,方便学员随时随地学习。 * **集成代码:** 所有动手练习均提供完整的代码示例,省去调试错误的时间。 **课程内容概览:** 本课程将涵盖以下关键模块: * **课程概述与演示:** 介绍课程整体架构,并展示一个安全API的实际效果。 * **Keycloak & Spring Security 基础:** * Keycloak 核心概念与功能。 * API授权的机制解析。 * Keycloak 关键术语讲解。 * **Keycloak 实操:** * Keycloak 安装与配置。 * Realm(领域)、Client(客户端)、User(用户)的创建。 * JSON Web Token (JWT) 获取。 * **Spring Boot API 开发与安全:** * Spring Boot 应用模板创建。 * 新闻文章检索API开发。 * 集成Spring Security,实现令牌(Token)和角色(Role)访问控制。 * OAuth2 资源服务器配置。 * API访问流程。 * API 方法修改与JWT转换。 * API访问授权确认(包括预授权和方法内授权)。 **学习目标:** 完成本课程后,学员将能够: * 熟练掌握Keycloak在API安全中的应用。 * 理解并实现Spring Security的OAuth 2.0安全验证。 * 构建一个具备细粒度访问控制的RESTful API。 * 深入理解JWT在API认证和授权过程中的作用。 **先修知识:** 建议学员具备Java编程基础,并对Spring Boot有初步了解。
Hands-on Experience: Develop a news article retrieval REST API secured by Keycloak and Spring Security using your own PC.Learning Path:Start with the basics of Keycloak and the role of Spring Security.Learn to configure the OAuth 2.0 token issuance flow with Keycloak.Develop a REST API for news article retrieval using Spring.Add token-based and role-based access control.Practical Learning: Gain in-depth knowledge of API authorization through a hands-on approach.This course differs from other educational resources (such as books or YouTube video tutorials) in the following ways:It's a self-contained course, eliminating the need for additional internet searches or manual checks.It provides detailed explanations of the reasons and background for each technology and procedure, ensuring you can progress without interruptions.All lecture videos are downloadable, allowing you to study from anywhere.Complete code versions are attached to all hands-on exercises, saving you from troubleshooting coding errors.The course includes the following topics:Course OverviewHands-on Digest & Secure API DemoImportant Notes for This CourseAbout your InstructorCourse Objectives and PrerequisitesKeycloak & Spring Security Hands-onOverview Part 1 - What is Keycloak?Overview Part 2 - Mechanism of API AuthorizationOverview Part 3 - Basic Keycloak TerminologyKeycloak Part 1 - InstallationKeycloak Part 2 - Creating a RealmKeycloak Part 3 - Creating a ClientKeycloak Part 4 - Creating UsersKeycloak Part 5 - Obtaining JSON Web Token (JWT)Spring Part 1 - Creating an Application TemplateSpring Part 2 - API DevelopmentSpring Part 3 - Adding SecuritySpring Part 4 - Application Configuration (Adding OAuth2 Resource Server Settings)Spring Part 5 - API AccessSpring Part 6 - API ModificationSpring Part 7 - JSON Web Token (JWT) ConversionSpring Part 8 - API Authorization Confirmation (Pre-authorization)Spring Part 9 - API ModificationSpring Part 10 - API Authorization Confirmation (In-Method Authorization)