Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Keycloak & Spring Security Bootcamp: API Auth for News App
Rating: 4.5 out of 5(27 ratings)
107 students

Keycloak & Spring Security Bootcamp: API Auth for News App

Build and Secure REST API for News Application: Hands-On with OAuth 2.0, Postman, JWT, and Role-Based Access Control
Created byShota Fukuyama
Last updated 10/2024
English

What you'll learn

  • Understand Keycloak's core security features(Functional overview, Basic terminology)
  • Understand Spring Security's key protection mechanisms(Token-based access control methods, Role-based access control methods)
  • Understand API authorization mechanism (roles of Keycloak server/client/API)
  • Develop and secure APIs using Keycloak and Spring Security(Keycloak server OAuth 2.0-based configuration, REST API development, Token/role-based implementation)

Course content

3 sections23 lectures3h 20m total length
  • Hands-on Digest & Secure API Demo5:23
  • Important Notes for This Course1:19
  • About your Instructor1:14
  • Course Objectives and Prerequisites6:23

Requirements

  • Basic knowledge of web application development (essential) -
  • Basic understanding of web security (beneficial, but not mandatory)
  • Basic knowledge of the Spring Framework (beneficial, but not mandatory)

Description

<Course Overview>

  • 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.


<Differences from Other Materials>

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.


<Course Content>

The course includes the following topics:

Course Overview

  • Hands-on Digest & Secure API Demo

  • Important Notes for This Course

  • About your Instructor

  • Course Objectives and Prerequisites

Keycloak & Spring Security Hands-on

  • Overview Part 1 - What is Keycloak?

  • Overview Part 2 - Mechanism of API Authorization

  • Overview Part 3 - Basic Keycloak Terminology

  • Keycloak Part 1 - Installation

  • Keycloak Part 2 - Creating a Realm

  • Keycloak Part 3 - Creating a Client

  • Keycloak Part 4 - Creating Users

  • Keycloak Part 5 - Obtaining JSON Web Token (JWT)

  • Spring Part 1 - Creating an Application Template

  • Spring Part 2 - API Development

  • Spring Part 3 - Adding Security

  • Spring Part 4 - Application Configuration (Adding OAuth2 Resource Server Settings)

  • Spring Part 5 - API Access

  • Spring Part 6 - API Modification

  • Spring Part 7 - JSON Web Token (JWT) Conversion

  • Spring Part 8 - API Authorization Confirmation (Pre-authorization)

  • Spring Part 9 - API Modification

  • Spring Part 10 - API Authorization Confirmation (In-Method Authorization)

Who this course is for:

  • Basic knowledge of web application development (essential) - Server-side technology fundamentals (basic Java syntax knowledge/object-oriented concepts) - Basic network knowledge (HTTP methods, status codes, etc.)
  • Basic understanding of web security (beneficial, but not mandatory) - Basic understanding of OAuth 2.0 - Familiarity with terms like stateless/stateful/CSRF
  • Basic knowledge of the Spring Framework (beneficial, but not mandatory) - Understanding of Dependency Injection (DI) concepts - Familiarity with annotation-based implementation methods