All Projects → adamzareba → company-structure-spring-security-oauth2-cache

adamzareba / company-structure-spring-security-oauth2-cache

Licence: other
Example Spring Boot + Hibernate + OAuth2 + Redis/EhCache project for demonstration purposes of cache mechanism.

Projects that are alternatives of or similar to company-structure-spring-security-oauth2-cache

jeecg
JEECG是一款基于代码生成器的J2EE快速开发平台,开源界“小普元”超越传统商业企业级开发平台。引领新的开发模式(Online Coding模式(自定义表单) - > 代码生成器模式 - > 手工MERGE智能开发), 可以帮助解决Java项目90%的重复工作,让开发更多关注业务逻辑。既能快速提高开发效率,帮助公司节省人力成本,同时又不失灵活性。具备:表单配置能力(无需编码)、移动配置能力、工作流配置能力、报表配置能力(支持移动端)、插件开发能力(可插拔)
Stars: ✭ 2,090 (+18900%)
Mutual labels:  hibernate, ehcache
Jeecg
JEECG是一款基于代码生成器的J2EE快速开发平台,开源界“小普元”超越传统商业企业级开发平台。引领新的开发模式(Online Coding模式(自定义表单) - > 代码生成器模式 - > 手工MERGE智能开发), 可以帮助解决Java项目90%的重复工作,让开发更多关注业务逻辑。既能快速提高开发效率,帮助公司节省人力成本,同时又不失灵活性。具备:表单配置能力(无需编码)、移动配置能力、工作流配置能力、报表配置能力(支持移动端)、插件开发能力(可插拔)
Stars: ✭ 2,027 (+18327.27%)
Mutual labels:  hibernate, ehcache
BusinessInfrastructurePlatformGroupVersion
A java web project based on Spring Boot using MySQL, Spring MVC, Hibernate, Spring Data JPA, Query DSL, Lombok, Logback, etc.
Stars: ✭ 90 (+718.18%)
Mutual labels:  hibernate, ehcache
Java Interview Questions
1000+ Java Interview Questions
Stars: ✭ 212 (+1827.27%)
Mutual labels:  hibernate
Quickperf
QuickPerf is a testing library for Java to quickly evaluate and improve some performance-related properties
Stars: ✭ 231 (+2000%)
Mutual labels:  hibernate
Library-Spring
The library web application where you can borrow books. It's Spring MVC and Hibernate project.
Stars: ✭ 73 (+563.64%)
Mutual labels:  hibernate
springboot-action
Spring Boot 入门学习示例。
Stars: ✭ 29 (+163.64%)
Mutual labels:  ehcache
E-commerce-
Spring + Hibernate
Stars: ✭ 32 (+190.91%)
Mutual labels:  hibernate
Dhis2 Core
DHIS2 Core. Written in Java. Contains the service layer and Web API.
Stars: ✭ 199 (+1709.09%)
Mutual labels:  hibernate
phoenix-hibernate-dialect
An Apache Phoenix Hibernate dialect
Stars: ✭ 20 (+81.82%)
Mutual labels:  hibernate
springboot-rest-api-angularjs-https
REST API https with Spring Boot and Angular JS. Use MySQL, Hibernate and Spring Security.
Stars: ✭ 38 (+245.45%)
Mutual labels:  hibernate
SpringMVC-Hibernate
J2EE项目系列(二)--博客管理系统(Maven+SpringMVC+Hibernate以及附加分页和一对多查询功能)
Stars: ✭ 48 (+336.36%)
Mutual labels:  hibernate
Spring Framework Petclinic
A Spring Framework application based on JSP, Spring MVC, Spring Data JPA, Hibernate and JDBC
Stars: ✭ 251 (+2181.82%)
Mutual labels:  hibernate
spring-data-jpa-mongodb-expressions
Use the MongoDB query language to query your relational database, typically from frontend.
Stars: ✭ 86 (+681.82%)
Mutual labels:  hibernate
Javastud
Official, Main: This is Core/Advance java example series project. It help to learn java step by step using pdf tutorial provided here and corresponding demo project for the eclipse. Tag: Java Student, Java Stud, Stud Java, StudJava, Java Teachers, Studs Quick Start Guide, Studs Java, Object Oriented Programming, Core Java, Java SE, Java EE, Java Enterprise Edition, Java Blog, Java Articles, Java Web, JSP, Servlet, Maven, Spring, Hibernate, Spring-boot, Spring MVC Web, Angular JS, Angular 2, Java Security, Java CRUD, Java Login Example, File Handling, Multi threading, exception handling, Collection classes, Swing, Database, Date Time, Joda Time, JPA.
Stars: ✭ 220 (+1900%)
Mutual labels:  hibernate
springmvc
spring mvc study
Stars: ✭ 87 (+690.91%)
Mutual labels:  hibernate
Spring Boot Postgresql Jpa Hibernate Rest Api Demo
Building RESTful APIs with Spring Boot, PostgreSQL, JPA and Hibernate
Stars: ✭ 209 (+1800%)
Mutual labels:  hibernate
doc
QuickPerf documentation: https://github.com/quick-perf/doc/wiki/QuickPerf
Stars: ✭ 22 (+100%)
Mutual labels:  hibernate
springboot-learning-demo
springboot学习示例
Stars: ✭ 17 (+54.55%)
Mutual labels:  ehcache
sequence
高效GUID产生算法(sequence),基于Snowflake实现64位自增ID算法.
Stars: ✭ 35 (+218.18%)
Mutual labels:  hibernate

Spring Boot + Spring Security + OAuth2

Example Spring Boot + Hibernate + Spring Security + OAuth2 project for demonstration purposes.

Getting started

Prerequisites:

  • Java 8
  • Maven
  • H2/PostgreSQL

It is possible to run application in one of two profiles:

  • h2
  • postgres

depending on database engine chose for testing.

To enable cache statistics dev profile needs to be turned on.

Testing database schema

database-schema

Authentication

curl -X POST \
  http://localhost:8080/oauth/token \
  -H 'authorization: Basic c3ByaW5nLXNlY3VyaXR5LW9hdXRoMi1yZWFkLXdyaXRlLWNsaWVudDpzcHJpbmctc2VjdXJpdHktb2F1dGgyLXJlYWQtd3JpdGUtY2xpZW50LXBhc3N3b3JkMTIzNA==' \
  -F grant_type=password \
  -F username=admin \
  -F password=admin1234 \
  -F client_id=spring-security-oauth2-read-write-client

Accessing secured endpoints

curl -X GET \
  http://localhost:8080/secured/company/ \
  -H 'authorization: Bearer <token_id>'
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].