Java Web Services Part 2

Java Web Services Part 2
Java Web Services Part 2
English | MP4 | AVC 1280×720 | AAC 48KHz 2ch | 4.5 Hours | 720 MB

Master advanced web services concepts and implement them in easy steps

This course is a continuation of my "Java Web Services" course which is the most popular course on that topic on UDemy as well as on the internet.

Are you interested in learning and implementing advanced Web Services concepts such as Security ? Then this course is for you.This is a incremental course.I will adding several new topics such as OAuth,Async Communication and more relevant topics that are not covered in the Java Web Service course.

Do you want to learn the four key security areas and address them in your SOAP Web Services?

This course will simplify things with concepts and step by step implementations . By the end of it you will:

  1. Understand the four key security areas
  2. Use the WS-Security standard to secure your services
  3. Implement Authentication
  4. Understand what Encryption is and why it is required
  5. Learn how to use the java keytool to generate security key pairs
  6. Implement Encryption and Decryption both on the web service client and web service provider
  7. Learn what , why and how to sign soap messages
  8. Prevent replay attacks by enabling Timestamps
  9. And many more advanced SOAP and REST web services topics in the near future
Table of Contents

Start Here
1 Instructor and course introduction
2 How to make the best of this course

SOAP Web Service Creation
3 Simple Usecase
4 Create the Project
5 Add Maven Dependencies
6 Create the WS Endpoint
7 Mark with JAXB Annotations
8 Mark with JAX-WS Annotations
9 Configure the endpoint
10 Configure the cxf servlet
11 Deploy and Run

SOAP Web Service Client Creation
12 Create the client Project
13 Generate the Stubs
14 Create the client and test
15 Enable CXF logging

SOAP WS Standards Concepts
16 Why WS Standards
17 SOAP WS Security Introduction
18 WS Security and Apache CXF

WS Security - Authentication
19 What is Username Token Profile
20 Steps to Configure Username Token Profile
21 Update the maven dependencies
22 Configure User Name Token Profile
23 Create and configure the PasswordCallbackHandler
24 Run the application on the server
25 Update Client Maven Dependencies
26 Retrieve the CXF Client Proxy
27 Create the WSSJ Interceptors Programmatically
28 Configure the properties
29 Run the test

Encryption and Decryption Concepts
30 Confidentiality Introduction
31 The Java keytool
32 Generate a key pair using the keytool
33 Export the public certificate

WS Security - ConfidentialityEncryptionDecryption
34 Steps to enable Encryption
35 Create the Key Pairs
36 Export the public keys
37 Import the certificates
38 The trustcacerts Flag
39 Copy the keystores to projects
40 Configure Encryption Action and Properties
41 Create the property file
42 Update the PasswordCallbackHandler
43 Add decryption action
44 Create the property file
45 Update the PasswordCallbackHandler
46 Test encryption and decryption
47 What just happened
48 Enable encryption on the Server
49 Enable Decryption on the client

WS Security - Integrity Signatures
50 What are Signatures
51 Configure Signature on the client
52 Configure to check for signature on the Server
53 Run the test and verify the signature
54 Sign the message on the server
55 Verify the signature on the client

WS Security - Non Repudiation Timestamp
56 What is a Timestamp
57 Enable Timestamp on the Client and Provider
58 Run a Test
59 Time to Live

Securing parts of the message
60 Introduction
61 Encrypt the Signature Part on the Client
62 Encrypt the Signature Part on the Provider and Test
63 Use Timestamp Part in the Signature
64 Download the completed projects

Implement OAuth 2 Security for REST Using Spring Boot
65 OAUTH Concepts
67 What are going to create
68 Install Spring Tool Suite
69 Configure JDK in STS
70 Install Postman

Create the Spring Boot REST Application
71 Completed Project For Your Reference
72 Create the REST Project
73 Create the Controllers
74 Run the application

Loading users and roles
75 Create the User and Role Entities
76 Mark entities with JPA annotations
77 Define the JPA Relationsships
78 Implement the GrantAuthority Interface
79 Create the UserRepository

Create the Authorization Server and Resource Server
80 Create the WebSecurityConfiguration
81 Create and use the UserDetailsService
82 Create the AuthorizationServerConfiguration
83 Configure the Services
84 Create and Expose the TokenServices bean
85 Configure Client Information
86 Configure the ResourceId
87 Create the ResourceServerConfiguration
88 Map the Roles to REST URIs
89 Change the Spring Security Filter Order
90 Some Refactoring

Test the application
91 Create Users and Roles
92 Launch the application
93 Authenticate and receive the token
94 Access the REST Endpoints
95 Debug and Step Through the Application

Swagger Quick Start
96 Introduction
97 CXF Swagger Feature
98 Swagger Java Annotations
99 Download and Import the Project
100 Step1 - Add Maven Dependency
101 Step 2 - Configure the Swagger CXF Feature
102 Step 3 - Use the Swagger API
103 Swagger in Action
104 Enable Swagger UI
105 CRUD Using Swagger UI

Wrap Up
106 Discounts on my other courses