YoVDO

Better Testing with Spring Security Test

Offered By: Okta via YouTube

Tags

Spring Security Courses OAuth 2.0 Courses Authorization Courses Mocking Courses JWT Authentication Courses Testcontainers Courses

Course Description

Overview

Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Explore advanced testing techniques for Spring Security in this 34-minute screencast. Learn how to configure tests to mock Spring Security when using OpenID Connect, JWT authentication, and OAuth 2.0 authorization with opaque tokens. Follow along as the instructor demonstrates testing a WebFlux Gateway with mockOidcLogin(), an MVC Resource Server with JWT mocking and Testcontainers, and a WebFlux Resource Server with mockOpaqueToken(). Gain insights into mocking features in Spring Security Test, verifying authorization and audience validation, and building more robust tests. Access accompanying resources, including a blog post, GitHub repository, and demo script for further learning.

Syllabus

- Hello Spring fans!
- Install prerequisites
- Test a WebFlux Gateway with mockOidcLogin
- Test an MVC Resource Server with jwt Mocking and Testcontainers
- Test a WebFlux Resource Server with mockOpaqueToken
- On Mocking Features in Spring Security Test
- Verify Authorization and Audience Validation
- Build better tests with Spring Security!
- Please follow us and subscribe to our YouTube channel


Taught by

Okta

Related Courses

Go Java Full Stack with Spring Boot and React [2022]
Udemy
RESTful Web Services, Java, Spring Boot, Spring MVC and JPA
Udemy
[NEW] Spring Boot 3, Spring 6 & Hibernate for Beginners
Udemy
The Java Spring Tutorial: Learn Java's Popular Web Framework
Udemy
Learn Spring Boot - Rapid Spring Application Development
Udemy