Logo
Explore Help
Sign In
iSharkFly-Docs/java-tutorials
1
0
Fork 0
You've already forked java-tutorials
Code Issues Pull Requests Actions Packages Projects Releases Wiki Activity
java-tutorials/spring-security-rest-full/README.md
Catalin 9729c9e192 Updated LSS campaign link
2016-08-12 17:02:35 +03:00

2.4 KiB
Raw Blame History

=========

REST Example Project with Spring Security

Courses

The "REST With Spring" Classes: http://bit.ly/restwithspring

The "Learn Spring Security" Classes: http://github.learnspringsecurity.com

Relevant Articles:

  • Spring Security Expressions - hasRole Example
  • REST Pagination in Spring
  • HATEOAS for a Spring REST Service
  • REST API Discoverability and HATEOAS
  • ETags for REST with Spring
  • Error Handling for REST with Spring 3
  • Integration Testing with the Maven Cargo plugin
  • Introduction to Spring Data JPA
  • Project Configuration with Spring
  • REST Query Language with Spring and JPA Criteria
  • REST Query Language with Spring Data JPA Specifications
  • REST Query Language with Spring Data JPA and QueryDSL
  • REST Query Language – Advanced Search Operations
  • Metrics for your Spring REST API
  • REST Query Language with RSQL
  • Spring RestTemplate Tutorial
  • A Guide to CSRF Protection in Spring Security

Build the Project

mvn clean install

Set up MySQL

mysql -u root -p 
> CREATE USER 'tutorialuser'@'localhost' IDENTIFIED BY 'tutorialmy5ql';
> GRANT ALL PRIVILEGES ON *.* TO 'tutorialuser'@'localhost';
> FLUSH PRIVILEGES;

Use the REST Service

curl http://localhost:8080/spring-security-rest-full/foos
Powered by Gitea Version: 1.23.8 Page: 75ms Template: 2ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API