java-tutorials/spring-thymeleaf
maibin b0a1959cf4 Spring Security + Thymeleaf (CSRF) (#695)
* Expression-Based Access Control

PermitAll, hasRole, hasAnyRole etc.
I modified classes regards to Security

* Added test cases for Spring Security Expressions

* Handler Interceptor - logging example

* Test for logger interceptor

* Removed conflicted part

* UserInterceptor (adding user information to model)

* Spring Handler Interceptor - session timers

* Spring Security CSRF attack protection with Thymeleaf
2016-09-23 14:37:53 +02:00
..
2015-12-20 21:43:31 +05:30

=========

Spring Thymeleaf Example Project

Relevant Articles:

Build the Project

mvn clean install

Run the Project

mvn cargo:run

  • note: starts on port '8082'

Access the pages using the URLs:

http://localhost:8082/spring-thymeleaf/ http://localhost:8082/spring-thymeleaf/addStudent/ http://localhost:8082/spring-thymeleaf/listStudents/

The first URL is the home page of the application. The home page has links to the other two pages.