Hiểu các nguyên tắc và cấu trúc hoạt động của Spring Security, đồng thời tìm hiểu cách thiết lập các chức năng xác thực và ủy quyền cần thiết cho các ứng dụng web bằng cách sử dụng các chức năng khác nhau do Spring Security cung cấp.
Bạn có thể thêm khả năng xác thực và ủy quyền cho các ứng dụng web của mình.
Hiểu kiến trúc Spring Security.
Bạn có thể học cách viết test khi áp dụng Spring Security.
Tính bảo mật của ứng dụng tôi đã tạo là Tôi phải chịu trách nhiệm 💪
'Xác thực' và 'ủy quyền' là bắt buộc trong ứng dụng! 🔥
Giả sử bạn đang tạo một bảng thông báo. Trừ khi đó là một bảng thông báo ẩn danh, bạn cần biết người dùng nào hiện đang đăng bài. Chúng ta cần một chức năng thường được gọi là 'Đăng nhập' và trong Spring Security nó được gọi là Authentication hoặc " Authentication ".
Ngoài ra, người dùng có thể chỉnh sửa bài đăng phải có ít nhất quyền tác giả hoặc quản trị viên đối với bài đăng. Tại thời điểm này, với tư cách là nhà phát triển, bạn phải áp dụng các chức năng " Ủy quyền ", Ủy quyền hoặc Kiểm soát truy cập cho ứng dụng của mình để đảm bảo rằng chỉ những người dùng có quyền thích hợp mới có thể sửa đổi bài đăng.
Đối với các ứng dụng web, điều cần thiết là phải ứng phó với nhiều vấn đề khác nhau liên quan đến bảo mật web như CSRF, XXS, giả mạo phiên và nhấp chuột.
Giới thiệu bài giảng 📖
#1. mùa xuân an ninh Ứng dụng các chức năng khác nhau
Bài giảng này áp dụng các chức năng khác nhau do Spring Security cung cấp cho các ứng dụng web dựa trên biểu mẫu và hiểu cấu trúc của Spring Security.
#2. mùa xuân an ninh cấu trúc bên trong
Thay vì chỉ áp dụng chức năng, bạn sẽ tìm hiểu cấu trúc bên trong về cách Spring Security hoạt động kết hợp với ứng dụng web dựa trên servlet . Nó sẽ rất hữu ích trong việc tìm hiểu các cấu trúc bên trong của Spring Security như AuthenticationManager, AccessDecisionManager và FilterChainProxy.
#3. Ở các định dạng ứng dụng phổ biến lựa chọn và tập trung
Bài giảng này chủ yếu đề cập đến các ứng dụng dựa trên servlet sử dụng Thymeleaf làm mẫu xem .Chúng tôi không đề cập đến các tính năng hỗ trợ ACL, OAuth2, Reactive (WebFlux) và WebSockets, đồng thời chúng tôi đã xem xét ngắn gọn về bảo mật phương pháp. Tuy nhiên, nếu bạn nghiên cứu đầy đủ bài giảng này , bạn sẽ có thể dễ dàng tìm hiểu các chức năng không được đề cập ở đây.
Đôi lời từ người chia sẻ kiến thức 🧑🏫
Bằng cách xem tất cả các khóa học tôi đã thực hiện và sẽ tiếp tục thực hiện, bạn có thể tìm hiểu cách tôi học mọi thứ. Tôi luôn coi trọng việc thử nghiệm nhưng tôi không bị ám ảnh bởi TDD. (Đôi khi tôi nhận được phản hồi rằng nó trông như vậy...) Tất cả các chức năng đều được mã hóa và xác minh trực tiếp, đồng thời sử dụng trình gỡ lỗi cho những phần mà tôi không hiểu hoặc tôi muốn xem xét chi tiết hơn.
Trong khóa học này, bạn sẽ học cách viết mã kiểm tra và phân tích mã đó bằng trình gỡ lỗi khi áp dụng Spring Security.
💡 Ghi chú
Việc bạn sử dụng IDE nào không quan trọng. Vui lòng sử dụng IDE mà bạn quen thuộc .
Khóa học này sử dụng phiên bản trả phí của IntelliJ IDEA (IntelliJ) . Phiên bản miễn phí sẽ không ngăn cản bạn theo dõi khóa học, nhưng một số khóa học có vẻ thuận tiện hơn với bạn so với những khóa học khác.
Nếu bạn sử dụng STS (Spring Tool Suite) dựa trên Eclipse được Spring cung cấp miễn phí, bạn sẽ có thể tận hưởng mức độ tiện lợi tương tự.
Kiến thức người chơi cần có 🤓
Khóa học này được tạo ra với giả định rằng những người tham gia khóa học có những kiến thức sau. Nếu có bất kỳ khóa học nào bạn chưa tham gia hoặc chủ đề nào bạn chưa học, vui lòng nghiên cứu trước khi tham gia khóa học này.
This lecture explains the architecture and very basic contents of Spring Security well.
But it is true that there are many shortcomings.
In fact, I don't know why the reviews are so good.
The reasons I think so are as follows.
1. Since the architecture is explained only with debug and code,
it is difficult for people who do not have a picture of the overall architecture in their heads to understand. A diagrammatic document is not as good as a well-organized blog.
And when explaining the flow, I think you should draw a picture in advance or
use a drawing program or tablet to explain it.
That is because it is much easier to understand than just looking at the code.
2. The depth of the content is too basic.
The reason is that they usually say that there are too many methods because they are afraid that the lecture will be too long,
but I think they are targeting people who do not study hard because they are too downwardly leveled. This may be a guess, but even if it is true,
there are too few use cases and they only teach very basic contents.
3. It is very common for the flow to be interrupted in the middle of a lecture.
There are many cases where the flow is interrupted in a lecture that is less than 10 minutes long, so it makes me feel like I am not prepared for explaining something.
-
ps. I am currently taking AI and paid math classes for AI study,
so I evaluated them with strict standards because they are very serious and well-prepared.
I thought a lot about whether or not to say this because I was afraid that you might misunderstand,
but I thought you might think I am leaving a bad review because of this part..
But I have to leave it.
I was honestly a little disappointed when someone who always values testing
asked a question,
but he just looked at the documentation without checking the test and Spring code,
and assumed that it would be like that.
First of all, I listened to the lecture well. It was good to learn about the basics of SpringSecurity. However, I don't think I would recommend this lecture to others.
While listening to the lecture, I felt that the instructor only summarized the content he was going to explain when recording the video. In fact, the PDF he uploaded only had a rough outline, and many important contents were explained only verbally. Even the explanations felt more like he was explaining them from memory rather than preparing and organizing them in advance. That's why the explanations were too distracting for the listener, that is, for me. Things that weren't explained at the beginning of the lecture suddenly appeared in the end... Since this lecture was an online lecture, I watched it several times, so I was barely able to understand it, but honestly, it was too difficult.
I trusted him because he was famous, so I bought it, but I was very disappointed. I hope that students will think about why they spend a lot of money to buy the lecture.
The instructor uses "uh...um...uh..." really, really, really a lot. Later, when I have time, I want to count how many times he uses "uh...um...uh...." in one lecture.
But the quality of the lecture is not good either. The explanation is so scattered that I couldn't understand it no matter how many times I watched it. I bought it with high expectations because it was a famous person, but it was a lecture that fell short of my expectations. I want the students to think about why they paid a lot of money for the lecture.
After taking Mr. Kiseon's Spring Security class, I gained a deeper understanding of security and also got hints on how to study.
In practice, when there was a problem with the security part, there were many cases where I couldn't find the debugging point,
but after understanding the Spring Security architecture explained by Mr. Kiseon, it helped me a lot in practice.
Also, I felt that development focused on what was working was just a shell, and the part where he taught the operating principles of each by finding the debugging point in the divide and conquer method and combining the principles in the latter part really made me hit my knees.
It was the best lecture that allowed me to realize that if I start studying on my own in the future, I should study in this way.
I highly recommend it to those who are new to Spring Security👍🏻