Let's assume that we have implemented a Spring powered application, and secured it by using the method security expressions of Spring Security. Our next task is to implement a scheduled job which uses the secured methods. To be more specific, we have to implement a scheduled job which obtains a message from our service class […] Read more
Spring Framework
Spring Social 1.0 has a spring-social-test module which provides support for testing Connect implementations and API bindings. This module was removed from Spring Social 1.1.0, and it was replaced with the Spring MVC Test framework. The problem is that there is practically no information about writing unit tests for an application which uses Spring Social […] Read more
The first part of this tutorial described how we can configure Spring Social 1.1.0 and Spring Security 3.2.0 but it left two very important questions unanswered. These questions are: How can a user create a new user account? How can a user log in? It is time to get our hands dirty and answer to […] Read more
In the good old days users logged in by using the combination of username and password. Although nowadays some people still prefer the traditional way, a growing number of users want to sign in by using their social media accounts. This is a what makes Spring Social (and its sub projects) an useful addition to […] Read more
Packt Publishing started selling its books at shop.oreilly.com. Because O'Reilly wants to welcome Packt Publishing to shop.oreilly.com, all eBooks (DRM-free) published by Packt Publishing are sold on 50% discount. This deal includes my Spring Data book. You can get my Spring Data book by following this link. Use the campaign code WKPCKT to claim your […] Read more
This video is outdated! If you want to learn how you can write unit tests for a Spring MVC REST API, you should take a look at my updated Spring MVC Test tutorial. It describes how you can write unit tests for a Spring MVC REST API with JUnit 5. This is the third part […] Read more