Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Hands-On Spring Security 5.x
Rating: 3.4 out of 5(26 ratings)
145 students

Hands-On Spring Security 5.x

A hands-on guide to secure and prevent your web apps and RESTful services from being hacked using Spring Security 5.1.1
Last updated 9/2019
English

What you'll learn

  • Get to know Spring Security and its concepts
  • Explore Spring Security Advanced configuration tips
  • Distinguish between Authorization and Authentication
  • Implement a custom Authentication mechanism
  • Integrate OAuth2 mechanism with your application to make it more secure
  • Define roles with Spring Security Authorization
  • Prevent common attacks such as CORS and CSRF with proper spring-security configuration

Course content

5 sections23 lectures1h 16m total length
  • The Course Overview1:53

    This video provides an overview of the entire course.                       

  • Creating Spring Boot App3:59

    In this video, we will learn to create Spring boot app                         

    • Look at the dependencies needed

    • Define App Runner

    • Understand @SpringBootApplication

     

  • Adding Support of Spring Security3:15

    In this video, we will be learning about how to add support of spring-security                         

    • AddSecurity Support for Application

    • Understand @EnableWebSecurity

    • Extend WebSecurityConfigurerAdapter

     

  • Configuring Spring Security for Rest Endpoints4:09

    In this video, we will look at Configuring Spring Security for rest endpoints                         

    • Create /time endpoint

    • Create /secretTime endpoint

    • Secure public endpoint

     

  • Configuring Spring Security for Static Resources2:54

    In this video, we will look at Configuring Spring Security for static resources                         

    • Expose static files 

    • Add security rules for static files 

     

Requirements

  • No previous experience with Spring Security is assumed.

Description

Securing your application from hackers is the most high-pressure concerns for developers. In this course, you’ll learn how to protect your Java application from malicious attacks and users with the Spring Security framework.

You’ll integrate Spring Security into your application using the Spring frameworks through practical, hands-on examples. You’ll see how to secure your web application, integrate authentication and authorization mechanisms, and restrict access to your application. You’ll discover how to integrate it with popular frameworks such as Spring Web MVC, Spring-Boot, Spring-Data, Servlet API injection, and more.

We’ll cover the security challenges with Reactive web apps built for the cloud, RESTful web services, and microservice architectures with the Spring framework. You’ll also implement techniques for protection against attacks such as session fixation, clickjacking, cross-site request forgery, and more.

By the end of the course, you’ll understand common security vulnerabilities and be able to prevent them with Spring Security, with an empirical approach to securing your web applications.

About the Author

Tomasz Lelek is a Software Engineer who programs mostly in Java and Scala. He has worked with Spring Applications and Microservices for the past 5 years. He is passionate about nearly everything associated with software development and believes we should always try to consider different solutions and approaches before solving a problem.

Recently, he was a speaker at conferences in Poland: Confitura and JDD (Java Developers Day), and at Krakow’s Scala User Group. He has also conducted a live coding session at Geecon Conference. He is a co-founder of initlearn, an e-learning platform that was built with the Spring Framework and Java Language. He has also written articles about everything related to the Java and Spring world

Who this course is for:

  • This course is for Java and Kotlin developers who can build applications using Java and Spring Framework and now want to secure their applications.