Category: Spring Framework
Spring Mail – Sending Email with Thymeleaf HTML Template Example
In this tutorial we demonstrate how to send a HTML email using a custom thymeleaf template using spring framework. In this topic we learn how to create and configure a custom thymeleaf template using...
Spring Mail – Sending Email with Freemarker HTML Template Example
In this tutorial we demonstrate how to send a HTML email using a custom freemarker template using spring framework. In this topic we learn how to create and configure a custom freemarker template using...
Spring Mail – Sending Email with Inline Attachment Example
This tutorial demonstrates how to send an email with an inline attachment using spring framework. We can add an attachment to a MimeMessage using the MimeMessageHelper. Project Structure Our project structure looks like the...
Spring Mail – Sending Email Attachment Configuration Example
This tutorial demonstrates how to send an email with attachment using spring framework. We can add an attachment to a MimeMessage using the MimeMessageHelper. Project Structure Our project structure looks like the following: Maven...
Spring Mail – Sending Simple Email with JavaMailSender Example
In this tutorial we demonstrate how to send a simple email using spring mail and spring boot. First we configure our email properties using a YAML or Properties file. Project Structure Our project structure...
Spring Boot + Spring LDAP Integration Testing Example
In this example we demonstrate how to use spring boot and spring ldap for writing ldap integration tests. We set up an embedded LDAP server and populate it with a custom schema.ldif file. Project...
Spring Boot + Spring LDAP Advanced LDAP Queries Example
This tutorial demonstrates how to write advanced LDAP queries using Spring LDAP. We can write advanced queries using the LdapQueryBuilder or by using custom filters, either by using clear text or custom logical filters....
Spring LDAP Object Directory Mapping (ODM) Configuration Example
In the following tutorial we demonstrate how to use Spring LDAP Object Directory Mapping (ODM). ODM offers developers the ability to use annotations to map LDAP directories to Java objects. Maven Dependencies We use...
Spring LDAP CRUD Operations Binding and Unbinding Example
In this tutorial we use spring ldap to demonstrate CRUD (Create, Read, Update Delete) operations performed on an LDAP server. Inserting data in Java LDAP is called binding. This is somewhat confusing, because in...