Spring Mvc and Security Insights
Ditulis pada: February 14, 2019
Coupon Details
Spring Mvc and Security Insights, Create Spring security web application via Spring boot using Oauth2, and OpenConnect Id
Created by Inam Khan
What you'll learn
- Develop a web application using Spring MVC, Spring security, and OAut2
- Configurations to register and initialise the DispatcherServlet
- How controller component Intercepts incoming requests
- How view resolvers allow us to render models in a browser without tying us to a specific view technology
- How to populate a model to display the information in the view
- How to bind a servlet request parameter to a specific method argument using request param
- How to bind a method parameter to a URI template variable
- How to specify the config location for the web context
- How to configure multiple web application context inside the web application
- How to configure root context inside the web application
- How to implement the basic security with a default login form
- Explore authentication provider, and authentication manager
- How to use the BCrypt encoder for hashing of password
- How to implement the security inside a customise login page
- How to enable the CSRF inside the project
- Explore authenticate and authorize tag, and how to display contents based on the assigned authorities
- How to configure the ServletContext programatically instead of configuring it via web xml
- How to use java configuration to initialise and load the security application context instead of loading it from xml configuration file
- How to integrate our application with DaoAuthenticationProvider to use user names, and roles configured in database
- How to migrate our application to spring boot
- How to customise our application to use OAuth2 for authorisation mechanism
- How to configure our application to use google as the authentication provider with the default oAuth2Login form
- How to configure our application to use github as the authentication provider with the default oAuth2Login form
- How to customise login page for the authentication providers
- How to use UserInfo endpoint to access the claims of the authenticated end-user
- Explore standard OAuth 2.0 Provider’s implementation of OAuth2UserService for GitHub Authentication provider
- Explore the implementation of OAuth2UserService with OpenIDConnect for Google authentication provider
- How to map the authorities of the user for the provider having standard OAuth2 implementation
- How to map the authorities of the user for the provider having Open id connect implementation
- Requirements
- Basic knowledge of Java programming language
- Basic knowledge of the Spring Framework
- Basic understanding of development, and deployment of web applications
- Basic understanding of Maven
Preview This Course - GET COUPON CODE