Building Secure RESTful Services using Spring Boot

Tijdsduur
Locatie
Online
Startdatum en plaats

Building Secure RESTful Services using Spring Boot

EDC4IT Europe BV
Logo van EDC4IT Europe BV

Tip: meer info over het programma, prijs, en inschrijven? Download de brochure!

Startdata en plaatsen

computer Online: Zoom
7 mei. 2024 tot 10 mei. 2024

Beschrijving

Course Overview

This highly stimulating course guides students through all the steps required to build secure contemporary RESTful services as well as rich and easy-to-maintain HTML5 web applications using the fantastic Spring MVC framework.

During this course you will be exposed to: Spring MVC, building Restful services, Jackson, view technologies such as Thymeleaf/JSP and a thorough introduction of Spring Security. For some exercises you will be using Spring Boot. The build system during the course is gradle.

Course Prerequisites

Students should be familiar with the Spring IoC and have practical development experience using HTML5, Thymeleaf or JSP. Some exposure to RESTful services is …

Lees de volledige beschrijving

Veelgestelde vragen

Er zijn nog geen veelgestelde vragen over dit product. Als je een vraag hebt, neem dan contact op met onze klantenservice.

Nog niet gevonden wat je zocht? Bekijk deze onderwerpen: JSP, Restful Api Modeling Language, JavaScript, PHP en Programmeren (algemeen).

Course Overview

This highly stimulating course guides students through all the steps required to build secure contemporary RESTful services as well as rich and easy-to-maintain HTML5 web applications using the fantastic Spring MVC framework.

During this course you will be exposed to: Spring MVC, building Restful services, Jackson, view technologies such as Thymeleaf/JSP and a thorough introduction of Spring Security. For some exercises you will be using Spring Boot. The build system during the course is gradle.

Course Prerequisites

Students should be familiar with the Spring IoC and have practical development experience using HTML5, Thymeleaf or JSP. Some exposure to RESTful services is helpful, but not required.

Outline

Here's what we'll be covering over the course:

Spring MVC

Introduction

  • Introduce the Spring MVC architecture
  • Discuss Spring MVC's features
  • Introduce the DispatchServlet
  • Configure Spring MVC using Java configuration (Servlet Environment)
  • Configure Spring MVC inside a Spring Boot application
  • Introduce controllers and RequestMapping
  • Map URIs and HTTP methods
  • Handle request parameters
  • Handle http headers
  • List the possible return types of handler methods
  • Overview of Handling exceptions
  • Using the @ControllerAdvice

Testing

  • Introduction to Testing Spring MVC Applications
  • Mocking Spring MVC
  • Understand how to use the RequestBuilder
  • Supply parametersmime-typesheaderscookies, …
  • Setup expectations with ResultMatcher
  • Using jsonPath to state expectations on returned json data

Rest with Spring

Introduction

  • Overview of Rest with Spring
  • Creating ResultController implementations
  • More on URL Patterns mapping (path variablesregex)
  • Handle mime-types
  • Using HttpEntity in handler methods
  • Validating data using jsr303

Jackson

  • Introduction to Jackson
  • Mapping pojos to json/xml/protobuf etc.
  • Use Jackson annotations
  • Mapping nullOptional.none, and empty strings values
  • Introduce Jacksons Views
  • Discuss various plugins for data types (most notably jdk8 and jsr310)
  • Same for data formats (xmlprotobufavro, …)
  • Configuring Jackson with Spring
  • Configure Spring's content negotiation

View (An introduction, optional)

  • Overview of view types
  • Configuring view resolvers
  • Using JSP for the view
  • Using Thymeleaf for the view
  • Configuration for Thymeleaf
  • Introduce ModelAndView
  • Configure Resource Handlers
  • Writing handler methods and dispatching to a view
  • Sharing data with a view
  • Using Spring's tag library
  • Handle form data
  • Validate form data
  • Customising the WebDataBinder
  • Handling file uploads
  • Other kinds of views: PDFExcelImages, …

Introduction to Spring Security

  • Architectural overview of Spring Security
  • Authentication and Authorisation with Spring
  • Introduce the UserDetailsService
  • Integrate with LDAPDatabase realmsJAAS, …
  • Basic configuration
  • Introduce the HttpSecurity DSL
  • URL-based authentication
  • Introduce the AuthenticationManagerBuilder DSL
  • Understand the default protections (Session Fixation, X-XSS Protection, clickjacking)
  • Logging in and logging out (form-based, basic, etc)
  • Building login forms (Thymeleaf and JSP)
  • CSRF attack prevention
  • Adding remember-me to login forms
  • Use OpenID for web authentication
  • Discuss authentication for RESTful services
  • Use Method level security (REST and with view)

Welkom bij EDC4IT: Uw Innovatiehub voor IT-Training

Ontdek de kracht van onze interactieve Open Source Technologieën, DevOps en Infrastructuur cursussen:

  • Praktisch & Toepasbaar: Cursusmateriaal dat direct impact maakt in uw werk.
  • Persoonlijke Groei: On-the-job coaching en gepersonaliseerde consultancy.
  • Deskundige Trainers: Leer van de besten, met state-of-the-art materiaal.
  • Voorop in IT: Blijf vooruit met onze actuele en innovatieve aanpak.

Zet Nu de Stap met EDC4IT – Vergroot uw vaardigheden, versnel uw carrière.

Blijf op de hoogte van nieuwe ervaringen

Er zijn nog geen ervaringen.

Deel je ervaring

Heb je ervaring met deze cursus? Deel je ervaring en help anderen kiezen. Als dank voor de moeite doneert Springest € 1,- aan Stichting Edukans.

Er zijn nog geen veelgestelde vragen over dit product. Als je een vraag hebt, neem dan contact op met onze klantenservice.

Vraag nu gratis en vrijblijvend informatie aan:

(optioneel)
(optioneel)
(optioneel)
(optioneel)
(optioneel)
(optioneel)
We slaan je gegevens op, en delen ze met EDC4IT Europe BV, om je via e-mail en evt. telefoon verder te helpen. Meer info vind je in ons privacybeleid.