
Install Tomcat on Mac using Homebrew, configure user access for the manager app, and set up Eclipse server integration to start and run Tomcat successfully.
Configure a Spring MVC template by creating a web app in Eclipse, setting Java 9 and Maven compiler, and adding Spring MVC, logging, and spin dependencies for testing.
Learn how to pass data from a controller to a view using model, model map, and model and view, and render attributes like name in a GSP page.
Learn how Spring MVC uses the @PathVariable annotation to bind path segments to controller method parameters, including naming the variable in mappings and testing with real requests.
Explore configuring multiple web application contexts within a Spring MVC app, including admin subcontexts, URL mappings, and trailing slash behavior to ensure consistent request handling.
Learn how to configure Spring MVC and security by adding a filter, filter mapping, and an authentication manager, then enable a default login page for secure HTTP requests.
Learn how to configure an authentication manager and provider in spring security, wire an in-memory user service with authorities, and enforce pattern-based access with login and logout.
Demonstrate how to disable and lock a user in a Spring MVC security context, using a brief demo to toggle attributes and illustrate admin versus invalid login suspensions.
Move index.jsp to the views folder and implement login handling by detecting anonymous users via the security context, managing authentication and authorities in a Spring MVC app.
Configure a Java-based web application context by defining a @Configuration class, enabling web mvc, scanning components, and setting up resource handlers and an internal resource resolver with prefix and suffix.
Learn how to migrate an MVC project to Spring Boot by copying configuration, adding security dependencies, and updating the context, static resources, and GSP views for a functional application.
Configure Google as an authentication provider in a Spring MVC security setup by creating a developer console app, obtaining client id and secret, and wiring the redirect flow.
Basically the course is divided into 2 major sections
Web part
Security part.
We are going to start off by making a basic spring mvc web application, and will learn how to apply security to different parts of the application.Then we are going to add on the more advanced features inside application i.e. configuration of multiple web application context inside application plus implementation of DAO authentication provider inside our application, and than we are going to explore how to integrate and implement OAuth2 features inside our application
It's a super hands on course.
My goal at this course is to get you through the entire process of configuring and implementing security inside a spring project
Web
In the web section of this course, we are going to start off with most basic configurations of the DispatcherServlet then we are going to create our first controller, and will look into functionalities that how controller component Intercepts incoming requests plus how it sends the data to Model for further processing then we are going to explore request param, and pathvariable annotations plus we are also going to explore how to configure multiple web application context, and root context. We are going to do all these steps both via xml configurations and java configurations
Security - Basics
In Security-Basics section of this course, we are going to explore how to implement the basic security with a default login form. Later in the section, we are going to explore authentication provider, authentication managers, and we are going to use them inside our project. We are also going to create our own customize login form then we are going to use authenticate and authorize tag inside our application to implement how to display contents based on the assigned authorities
Java Configurations
In Java configurations section of this course, we are going to explore, how to configure the ServletContext programmatically instead of configuring it via web.xml. Later in the section, We are going to integrate our application with DaoAuthenticationProvider to use user names, and roles configured in database tables
Spring boot
In Spring boot section of this course, we are going to migrate our application to spring boot
Spring OAuth2
In Spring OAuth2 section of this course, we are going to explore OAuth2 plus we are also going to explore how to customize application to use OAuth2 for authorization mechanism, and we are going to use Google and GitHub as the authentication provider. We are going to start off by configuring our application to use google and github as the authentication Provider’s with the default oAuth2Login form. Later we are going to customize login page for the authentication providers then we are going to explore how to use UserInfo endpoint to access the claims of the authenticated end-user plus we are also going to explore explore standard OAuth 2.0 Provider’s implementation of OAuth2UserService plus the implementation of OAuth2UserService with OpenIDConnect ,and lastly, we are going to explore how to map the authorities of the user for the provider having standard OAuth2 implementation, and Open id connect implementation