Spring Security Advanced Authorization

In this post we implement some more advanced authorization practices. We already showed in previous post how to use Spring Security to setup access control in one page based on user roles. Here we will show how we can extend this authorization with security tags and method security. This post follows Spring Security Simple Authorization but adds Read more about Spring Security Advanced Authorization[…]

Spring Security Remember Me

This post follows the Spring Security Simple Authorization post, but also adds the remember-me functionality to our application. Like before, we ask the user for his credentials. If correct, he enters to the dashboard. If wrong, he gets error message. We have two user roles, the simple user who can access only the dashboard, and the admin Read more about Spring Security Remember Me[…]

Spring Security Simple Authorization

This post follows the Spring Security Simple Authentication  post but adds a simple authorization logic to our solution. We will continue with the same application, but now we will create a page that will be accessible only by some users. We will achieve that by assigning to the users roles and restrict their authorities based on Read more about Spring Security Simple Authorization[…]

Spring Security Simple Authentication

In this post, we will create a simple application, that displays Spring Security form-based authentication. The user is prompted to give his credentials. If they are correct, he enters to the dashboard. If they are wrong, he gets an error message. Dashboard is accessible only by authenticated users.  The full github repository can be found here:  Read more about Spring Security Simple Authentication[…]

Hibernate – SpringCore – MySQL – Junit

Simple application that displays the Service and the Persistence layers of a typical Hibernate project. The app is a eGradebook which should display the grades of the students in different classes. This project only displays the backend so there is no MVC here. The functionality is tested using JUnit. Technologies Used Spring Core Hibernate MySQL Maven Junit Database The Read more about Hibernate – SpringCore – MySQL – Junit[…]