Spring Security LDAP Integration and SAML Extension
0.0 (0 ratings)
Instead of using a simple lifetime average, Udemy calculates a course's star rating by considering a number of different factors such as the number of ratings, the age of ratings, and the likelihood of fraudulent ratings.
19 students enrolled
Wishlisted Wishlist

Please confirm that you want to add Spring Security LDAP Integration and SAML Extension to your Wishlist.

Add to Wishlist

Spring Security LDAP Integration and SAML Extension

Secure your Java applications by LDAP Integration and SAML extension
0.0 (0 ratings)
Instead of using a simple lifetime average, Udemy calculates a course's star rating by considering a number of different factors such as the number of ratings, the age of ratings, and the likelihood of fraudulent ratings.
19 students enrolled
Created by Packt Publishing
Last updated 8/2017
Curiosity Sale
Current price: $10 Original price: $125 Discount: 92% off
30-Day Money-Back Guarantee
  • 5 hours on-demand video
  • 1 Supplemental Resource
  • Full lifetime access
  • Access on mobile and TV
  • Certificate of Completion
What Will I Learn?
  • Spring Framework architecture and basics
  • Develop Spring MVC applications based on XML configuration
  • Upgrade built applications from an XML configuration to a Java configuration
  • Integrate your application with Spring Security and the embedded LDAP server
  • Use Apache Directory server as an LDAP server and integrate the application you've built with this server
  • SAML basics and methodologies
  • Integrate applications with SAML
View Curriculum
  • Understanding of Spring Security framework.

Spring Security is a Java/Java EE framework that provides authentication, authorization and other security features for enterprise applications.

Starting with introduction to LDAP, we will develop a Spring Security application integrated with Active Directory LightWeight DS and Apache DS. Later, we will be introduced to SAML and its working, before proceeding to integrate with Spring Security. Here we will also look at the xml and Java configurations combined in one application. Furthermore, we will look at JaaS integration with Spring Security, Oauth2 basics and its working.

The integration with Spring Security to create Resource and authorization servers will be explained later on in the final section of the course. Spring Security test-cases along with compatibility to MockMVC is explained at the end summarizing the entire course.

About the author

Ankit Mishra is a Senior Software Engineer with extensive IT experience in mission-critical development projects and architecture designs. He has worked for giants such as Ericsson, Fidelity, and others.

He has more than four years' experience in managing and delivering Spring MVC and Spring Security projects, Cloud deployment, and PaaS cloud administration. Currently, he is working on Spring microservices, Spring Security, cloud deployment, and tuning.

  • Specialties: Red-Hat Certified engineer
  • Functional domains: Retail and Banking
Who is the target audience?
  • This video is for anyone with a good understanding of Spring Security framework.
Students Who Viewed This Course Also Viewed
Curriculum For This Course
25 Lectures
LDAP Introduction and Authentication
7 Lectures 01:06:28

This video provides an overview of the entire course.

Preview 03:06

In this video, we will explain the basics of LDAP and directory server.

What is LDAP?

Introduction to LDAP authentication process using Spring Security.

Using LDAP with Spring Security

This video explains the configuration and how to write user search patterns to search users in LDAP. Also, URLs and Credentials setup.

Configuring an LDAP Server

In this video, we will see how to use and connect to embedded LDAP server provided with Spring Security.

Integrate Application with Embedded LDAP Server

Introduction to classes and API provided by Spring Security for custom and specific needs.

Implementation Classes

Introduction to active directory light weight services. Installation configuration and authentication with AD-LDS.

Active Directory Authentication
ApacheDS Integration
3 Lectures 20:30

In this video, we will explain the basics of ApacheDS and installation instructions.

Preview 04:07

Connect, configure, manage, and authenticate with ApacheDS. 

Configuring ApacheDS

This video explains the configuration and connects with ApacheDS using Spring Security LDAP API. Also, URLs and Credentials set up.

Integrate Sample Application with ApacheDS
SAML Extension
6 Lectures 01:43:58

This video explains what is SAML, how does it work, and the use cases.

Preview 10:49

This video explains the dependencies needed and the building blocks of SMAL extension.

Core Modules

This video explains the metadata and the significance in SAML-based applications. How to generate the Metadata is also included.

Configuring Spring Security with SAML

This video explains how SAML extension can be configured to discover Identity Provider. Also view Use cases and generation of Keystore, Configuration of Local and Global Logouts.

Configure SAML – Keystore, Discovery, and Logouts

This video explains SAML 2.0 supported profiles and respective binding with configuration.

SAML Profiles and Bindings

This video explains the overall configuration and code setup needed to get SAML live. This includes testing and known issues.

Integrate, Deploy, and Test Single Sign-On/Logout
Spring Security Testing Framework
5 Lectures 41:07

In this video, Spring Security Java Config is explained along with Method Security, then, how to build test cases to test method security.

Preview 20:04

This video explains how to integrate Spring Security with Spring Framework’s mock mvc.

Setting Up MockMvc

This video explains how to use MockMvc object to perform get and post requests and expect the result.


This video explains how to do the form logins using MockMvc test cases.


This video explains Spring Security test’s result matchers and how to check the test case was passed with a valid authentication object.

Additional Security
4 Lectures 01:13:58

This video explains JaaS concepts working and behavior.

Preview 08:11

This video explains how to integrate Spring Security with JaaS.

Spring Security JaaS Integration

This video explains Oauth version#2 protocol, use cases, concepts, and types of authorization grant available.

Introduction to OAuth2

This video explains Oauth2 Authorization and Resource Server Configuration using Spring Security.

OAuth2 with Spring Security
About the Instructor
Packt Publishing
3.9 Average rating
7,297 Reviews
52,303 Students
616 Courses
Tech Knowledge in Motion

Packt has been committed to developer learning since 2004. A lot has changed in software since then - but Packt has remained responsive to these changes, continuing to look forward at the trends and tools defining the way we work and live. And how to put them to work.

With an extensive library of content - more than 4000 books and video courses -Packt's mission is to help developers stay relevant in a rapidly changing world. From new web frameworks and programming languages, to cutting edge data analytics, and DevOps, Packt takes software professionals in every field to what's important to them now.

From skills that will help you to develop and future proof your career to immediate solutions to every day tech challenges, Packt is a go-to resource to make you a better, smarter developer.

Packt Udemy courses continue this tradition, bringing you comprehensive yet concise video courses straight from the experts.