Building Secure RESTful Services using Spring Boot

Tijdsduur
Logo van EDC4IT Europe BV

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

Startdata en plaatsen

Er zijn nog geen startdata bekend voor dit product.

Beschrijving

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.

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 requir…

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, JavaScript, PHP, Programmeren (algemeen) en Java.

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.

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.

Course Contents

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)

You have discovered EDC4IT, your online home for IT Training in Open Source Technologies.

Famous for the practicality and applicability, a significant part of our course material is dedicated to hands-on exercises and lucrative tips allowing the participants to improve considerably in their workplaces in no time.

We go the extra mile to deliver consultancy and on-the-job coaching, as needed. Having received great feedback on our online courses, we take pride in our trainers and learning material.

Join us, use our rich expertise, and get ahead of the rest!

Blijf op de hoogte van nieuwe ervaringen

Er zijn nog geen ervaringen.
  • Vraag informatie aan over deze cursus. Je ontvangt vanaf dan ook een seintje wanneer iemand een ervaring deelt. Handige manier om jezelf eraan te herinneren dat je wilt blijven leren!
  • Bekijk gerelateerde producten mét ervaringen: JSP.

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.

Download gratis en vrijblijvend de informatiebrochure

Aanhef
(optioneel)
(optioneel)
(optioneel)
(optioneel)
(optioneel)
(optioneel)

Heb je nog vragen?

(optioneel)