-
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.
Date: 2019-08-10 View: 1241
-
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.
Date: 2019-08-10 View: 1147
-
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.
Date: 2019-08-10 View: 1198
-
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.
Date: 2019-08-10 View: 1150
-
Spring Mail Integration Testing with JUnit and GreenMail Example
In this example we show how to use Spring Mail and write Integration Tests using JUnit and GreenMail. We start by writing a simple email service that sends out emails. We want to verify that this email service sends out correct emails, so we use GreenMail – which is an open source test suite of email servers for testing purposes.
Date: 2019-08-10 View: 3307
-
Spring LDAP + Spring Boot Embedded LDAP Configuration Example
In this tutorial we demonstrate how to use spring boot and spring ldap to configure an embedded LDAP server.
Date: 2019-08-10 View: 1318
-
Spring LDAP Mapping Attributes to POJO with AttributesMapper Example
This tutorial demonstrates how to use spring LDAP to map attributes on a POJO using the AttributesMapper<T> class.
Date: 2019-08-10 View: 1175
-
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.
Date: 2019-08-10 View: 947
-
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.
Date: 2019-08-10 View: 1257
-
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.
Date: 2019-08-10 View: 1216
-
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.
Date: 2019-08-10 View: 1370
-
Spring Security + Spring LDAP Authentication Configuration Example
In this tutorial we demonstrate how to Configure Spring Security + Spring LDAP authentication application. We show how to configure spring security and spring LDAP using Java And XML Configuration.
Date: 2019-08-10 View: 1206
-
Spring boot Create a Custom Banner Example
You can change the mission critical banner that is printed on start up with your own custom banner. You have the option to add your own custom banner.txt text file by setting the banner.location to the location of such a file. The default charset is UTF-8. In addition you can also add a banner.gif, banner.jpg or banner.png image file or set a banner.image.location property. Images will be converted into an ASCII art representation and printed above any text banner. In this tutorial we demonstrate how to create a custom banner using spring boot. We Generated an ascii art and place it in a file called banner.txt and place it in the directory src/main/resources.
Date: 2019-08-10 View: 1464
-
Spring Boot Create Executable using Maven with Parent Pom
Maven users can inherit from the spring-boot-starter-parent project to obtain sensible defaults. You should only need to specify the Spring Boot version number on this dependency. If you import additional starters, you can safely omit the version number. This tutorial demonstrates how to create an executable jar/war using Maven with a Parent POM. In another tutorial, you can also create an executable jar/war without using a parent pom
Date: 2019-08-10 View: 1422
-
Spring Boot – Create Executable using Maven without Parent Pom
Not everyone likes inheriting from the spring-boot-starter-parent POM to create an executable jar/war. You may have your own corporate standard parent that you need to use, or you may just prefer to explicitly declare all your Maven configuration. In this tutorial we’ll demonstrate how to create an executable jar/war using Maven without a parent pom.
Date: 2019-08-10 View: 1352