Cargando…

Hands-On Spring Security 5 for Reactive Applications : Learn Effective Ways to Secure Your Applications with Spring and Spring WebFlux.

Security is one of the most vital concerns for any organization. The complexity of an application is compounded when you need to integrate security with existing code, new technology, and other frameworks. This book will show you how to effectively write Java code that is robust and easy to maintain...

Descripción completa

Detalles Bibliográficos
Clasificación:Libro Electrónico
Autor principal: John, Tomcy
Formato: Electrónico eBook
Idioma:Inglés
Publicado: Birmingham : Packt Publishing Ltd, 2018.
Temas:
Acceso en línea:Texto completo
Tabla de Contenidos:
  • Cover; Title Page; Copyright and Credits; Dedication; Packt Upsell; Contributors; Table of Contents; Preface; Chapter 1: Overview of Spring 5 and Spring Security 5; How examples are structured; New-generation application requirements; Reactive programming; Reactive applications; Reactive Manifesto; Responsive; Resilient; Elastic; Message-driven; Spring Framework; Reactive Landscape in Java; Reactive Streams and Reactive Streams Specifications; Non-blocking; Backpressure; Reactive Extensions; RxJava; Reactive Streams and RxJava; JDK 9 additions; Important interfaces; The Publisher Interface.
  • The Subscriber InterfaceThe Subscription interface; The Processor interface; Spring Framework and reactive applications; Modules in Reactor; Reactive types in Reactor Core; The Flux reative type; The Mono reactive type; Data stream types; Reactor and RxJava; Reactive Web Application; Spring WebFlux; Reactive Spring Web; WebClient; WebSockets; Application security; Spring Security; Spring Security terminologies; Spring Security's core features; Authentication; Authorization; Spring Security 5's new features; Working of Spring Security; Servlet Filter; Filter Chain.
  • Security Interceptor (DelegatingFilterProxy)Core Spring Security modules; Summary; Chapter 2: Deep Diving into Spring Security; Authentication; Setting up AuthenticationManager; AuthenticationProvider; Custom AuthenticationProvider; Multiple AuthenticationProvider; Sample application; Base project setup; Step 1-Create a Maven project in IntelliJ IDEA; Step 2-pom.xml changes; Step 3-MySQL database schema setup; Step 4-Setting up MySQL database properties in your project; Step 5-Spring application configuration; Step 6-Web application configuration; Step 7-Spring MVC setup.
  • Step 8-Controller setupStep 9-JSP creation; Spring Security setup; Step 1-Spring Security configuration setup; Step 2-Spring Security setup for a web application; Running the application; In-memory user storage; Run as Spring Boot; Authorization; Web URL; Method invocation; Domain instance; Other Spring Security capabilities; Summary; Chapter 3: Authentication Using SAML, LDAP, and OAuth/OIDC; Security Assertion Markup Language; Setting up an SSO provider; Setting up the project; The pom.xml file setup; The application.yml file setup; The Spring Security configuration files.
  • The resources folder setupRunning and testing the application; Lightweight Directory Access Protocol; Set up dependencies in the pom.xml file; Spring Security configuration; LDAP server setup; Setting up users in the LDAP server; Running the application; Seeing the application in action on a browser; OAuth2 and OpenID Connect; Setting up a project; Bootstrap Spring project using Spring Initializr; Inclusion of OAuth libraries in pom.xml; Setting up provider details in application.properties; Provider setup; Default application change; The HomeController class; The home.jsp file.