Spring Security 4 Remember Me Example with Hibernate

This tutorial shows you Remember-Me authentication using Spring Security 4 with Hibernate. Let's get going. In Remember-me or persistent-login authentication,…

9 years ago

Spring Security 4 Hibernate Password Encoder Bcrypt Example

This tutorial shows Password Encoding in Spring Security 4 using BCryptPasswordEncoder. We will take a Spring MVC 4, Hibernate 4…

9 years ago

Spring Security 4 Hibernate Role Based Login Example

This post shows how to use role based login in Spring Security 4 using Hibernate setup. That means redirecting users…

9 years ago

Spring Security 4 Hibernate Integration Annotation+XML Example

This tutorial demonstrates integrating Hibernate with Spring Security 4 to perform database authentication, showing Annotation+XML configuration example in Spring 4…

9 years ago

Spring Security 4 Secure View Fragments using taglibs

This tutorial shows you how to secure view layer, show/hide parts of jsp/view based on logged-in user's roles, using Spring…

9 years ago

Spring Security 4 Logout Example

This post shows you how to programatically logout a user in Spring Security. This works well with browser back button…

9 years ago

Spring Security 4 Custom Login Form Annotation+XML Example

This post shows you creating custom login form in Spring Security 4 and integrate it in Spring MVC web application.…

9 years ago

Spring Security 4 Hello World Annotation+XML Example

This tutorial demonstrates Spring Security 4 usage to secure a Spring MVC web application, securing URL access with authentication. We…

9 years ago

Testing data access layer using Testng, DBunit, Mockito, H2 & Spring-test

Testing DAO or data access layer is always a subject of debate. What exactly we want to test? Do we…

9 years ago

How to setup MySQL on local PC

In this post, we will learn how to setup MySQL on our local machines/system. This is one of the possible…

9 years ago