Spring Security Allow Static Resources without Authentication

  Рет қаралды 976

Code Java

Code Java

6 ай бұрын

In this video, I'd like to share with you guys how to configure Spring Security to allow static resources (images, Javascript, CSS, ...) to pass through Spring Security filter, so clients can request static resources without authentication.

Пікірлер: 8
@sam_trends
@sam_trends 2 ай бұрын
Great job.. you answered a lot of problems with this.. Weldone
@CodeJava
@CodeJava 2 ай бұрын
Glad it was helpful!
@zbishop_1
@zbishop_1 21 сағат бұрын
This helped me a lot!!! Thanks
@CodeJava
@CodeJava 16 сағат бұрын
Glad it helped!
@minhtriet5989
@minhtriet5989 2 ай бұрын
Em đang gặp vấn đề tương tự, chỗ bài học udemy bài 39 em đang dùng Spring boot ver 3.2.5 chỗ class WebMvcConfigurer bị deprecated nên em dùng WebMvcConfigurationSupport thay thế thì gặp vấn đề là các resources như css, js load ko được, khi em vào chỉnh spring security giống như video này thì vẫn ko load được, nhờ anh solve problem này giúp em với tks a !
@CodeJava
@CodeJava 2 ай бұрын
em disable csrf nữa xem: http.csrf(csrf -> csrf.disable())
@mukeshkediyal3858
@mukeshkediyal3858 5 ай бұрын
Can you please share the code as well so that we can run the same at our side. Thanks in advance.
@CodeJava
@CodeJava 5 ай бұрын
you can find the project demonstrated in this video in my online course: www.udemy.com/course/spring-boot-e-commerce-ultimate
Spring Security Architecture Explained
14:41
Amigoscode
Рет қаралды 101 М.
Useful gadget for styling hair 🤩💖 #gadgets #hairstyle
00:20
FLIP FLOP Hacks
Рет қаралды 4,5 МЛН
Happy 4th of July 😂
00:12
Alyssa's Ways
Рет қаралды 69 МЛН
New model rc bird unboxing and testing
00:10
Ruhul Shorts
Рет қаралды 25 МЛН
Watch Me Code an OAuth2 Google Login Client with Java Spring
23:25
Comprendre et Créer une api rest en 10 minutes
13:23
faiz-dev
Рет қаралды 11 М.
Thymeleaf Tutorial #3 - Add CSS and JS to Thymeleaf
8:33
Java Guides
Рет қаралды 38 М.
HOW do I serve WEB TEMPLATES with SPRING BOOT 3?
10:13
Pro Coder
Рет қаралды 10 М.
Top 25 Microservice Interview Questions Answered - Java Brains
39:54
Complete Spring Security with JWT Authentication | Spring Security 6 | Securing Spring Boot
3:45:03
Как распознать поддельный iPhone
0:44
PEREKUPILO
Рет қаралды 2,2 МЛН
Samsung laughing on iPhone #techbyakram
0:12
Tech by Akram
Рет қаралды 3,1 МЛН
Xiaomi SU-7 Max 2024 - Самый быстрый мобильник
32:11
Клубный сервис
Рет қаралды 465 М.
ВАЖНО! Не проверяйте на своем iPhone после установки на экран!
0:19
ГЛАЗУРЬ СТЕКЛО для iPhone и аксессуары OTU
Рет қаралды 6 МЛН