JCart: Manage Roles

In our previous post Manage Privileges – List all privileges we have implemented the functionality to show list of permissions. In this post we will implement Role management such as listing all Roles, creating new Role, editing Role permissions etc. Basically

Continue reading

JCart : Iteration-2

Now we have completed Iteration-1 tasks. Iteration-1 includes so many tasks to establish the foundation like configuring Spring Security, Thymeleaf settings, UI layout setup etc. I hope from now on we can put more focus on actual tasks implementation rather

Continue reading

JCart: Admin Forgot Password

We will provide a link to Forgot Password in Login page and create jcart-admin/src/main/resources/templates/public/forgotPwd.html template as follows: <!DOCTYPE html> <html xmlns=”http://www.w3.org/1999/xhtml” xmlns:th=”http://www.thymeleaf.org” layout:decorator=”layout/guestLayout”> <head> <title>Forgot Password</title> </head> <body > <div layout:fragment=”content”> <form action=”forgotPwd” th:action=”@{/forgotPwd}” method=”post”> <input type=”email” class=”form-control” name=”email” placeholder=”Email”/>

Continue reading

JCart: Configuring Spring Security

Our JCart Administration site should only be accessible to authorized users only. So, we are going to use SpringSecurity to define the security constraints. Let us add the following spring-security dependencies to jcart-admin/pom.xml. org.springframework.boot spring-boot-starter-security org.thymeleaf.extras thymeleaf-extras-springsecurity4 If we have

Continue reading