All Projects → monkeyk → spring-oauth-server

monkeyk / spring-oauth-server

Licence: GPL-2.0 license
Deep Integrate Spring Security & OAuth2

Programming Languages

java
68154 projects - #9 most used programming language
HTML
75241 projects
PLSQL
303 projects

Projects that are alternatives of or similar to spring-oauth-server

spring-security-oauth-workshop
Spring Security OAuth Workshop
Stars: ✭ 41 (-48.75%)
Mutual labels:  spring-security-oauth2
Oauth2-Stateless-Authentication-with-Spring-and-JWT-Token
Oauth2 Stateless Authentication with Spring and JWT Token
Stars: ✭ 108 (+35%)
Mutual labels:  spring-security-oauth2
spring-boot-oauth2-server
Sample standalone OAuth2 authorization server using Spring Boot
Stars: ✭ 29 (-63.75%)
Mutual labels:  spring-security-oauth2
spring-security-oauth2-client-example
Minimal configuration required for a Spring Boot project using Spring Security with OAuth2 client
Stars: ✭ 20 (-75%)
Mutual labels:  spring-security-oauth2
spring-boot-oauth2-login
No description or website provided.
Stars: ✭ 24 (-70%)
Mutual labels:  spring-security-oauth2
Cloud-Native-App-Spring-Boot
A Cloud Native App with Spring Coud Security with KeyCloak Auth Server, API Gateway Server, Naming Server, Config Server and Distributed Tracing and ELK Stack hosted in K8s
Stars: ✭ 19 (-76.25%)
Mutual labels:  spring-security-oauth2
spring-security-oauth-sample
使用Spring Security OAuth实现OAuth 2.0授权的一个实例
Stars: ✭ 13 (-83.75%)
Mutual labels:  spring-security-oauth2
oauth-boot
spring-boot and spring oauth2
Stars: ✭ 111 (+38.75%)
Mutual labels:  spring-security-oauth2
MyNewProject
Legacy Spring MVC
Stars: ✭ 19 (-76.25%)
Mutual labels:  spring-security-oauth2
okta-jhipster-microservices-oauth-example
A microservices architecture built with JHipster, OAuth 2.0, and Okta
Stars: ✭ 29 (-63.75%)
Mutual labels:  spring-security-oauth2
robert
基于SpringCloud的企业级微服务多租户系统、多语言的脚手架, 代码组件化、高内聚低耦合,代码简介,注释丰富容易上手,该项目包括用于开发分布式应用程序服务的必要组件,支持多应用程序访问,并使开发人员可以轻松地使用Spring Cloud编程模型来开发分布式应用程序服务。
Stars: ✭ 45 (-43.75%)
Mutual labels:  spring-security-oauth2
okta-spring-boot-authz-server-example
Spring Security OAuth 2.0 Guide
Stars: ✭ 60 (-25%)
Mutual labels:  spring-security-oauth2
springboot-vue.js-bbs
Spring Boot, Vue.js
Stars: ✭ 43 (-46.25%)
Mutual labels:  spring-security-oauth2
Diber-backend
Delivery Service - Spring Boot / Spring Data Jpa / Hibernate / PostgreSQL / OAuth2 Application
Stars: ✭ 22 (-72.5%)
Mutual labels:  spring-security-oauth2
Taroco-Authentication
Taroco-Authentication 统一认证服务
Stars: ✭ 49 (-38.75%)
Mutual labels:  spring-oauth-server

spring-oauth-server

Deep Integrate Spring Security & OAuth2

base on Spring-Boot

spring-oauth-server is based on spring-security-oauth2, but we do more useful extension as follow

  1. Split Spring MVC configuration and OAuth configuration

  2. Save Spring Security User data to database

  3. Save ClientDetails to database, and manage it

  4. Extend ClientDetails fields, add trusted field for check the client is trust or not

  5. Cancel unnecessary configuration

  6. Different resources config different roles

  7. access_token, code save to database(replace save to memory)

  8. Add Restful OAuth API, see OAuthRestController


Dependency Framework, version

  • JDK (1.8.0_40)
  • Servlet API (3.1.0)
  • Spring Boot(2.0.1.RELEASE)
  • spring-security-oauth2 (2.3.0.RELEASE)

How to use

  1. Download or clone the project source code to local computer, make sure the computer install JAVA development environment(JDK,Maven,Tomcat,IDE...)

  2. Create MySql(5.0+) Database: oauth2_boot, run SQL script files(position: /others/database), run script order: initial_db.ddl -> oauth.ddl -> initial_data.ddl.

  3. Config application.properties (position: src/main/resources), update database connection information(username, password).

  4. Use Maven import local project to IDE(for example: Intellij IDEA), Add Servlet-Container-Server(Tomcat), startup the server(make sure set project contextPath = 'spring-oauth-server').
    Besides, use maven command mvn package compile the project(generate 'spring-oauth-server.war'), copy the war to Tomcat(make sure add 'application.properties' to classpath) and startup.

  5. Visit oauth_test.txt (position: others) and testing step by step(Browser default URL: http://localhost:8080/spring-oauth-server).


Database table,column explain

db_table_description.html(position: /others) is explain the SQL file oauth.ddl all tables, columns, tell how to use and where use.
Online visit address http://andaily.com/spring-oauth-server/db_table_description.html(Chinese).


More...

Project Blog address: http://andaily.com/blog/?cat=19(Chinese)

More my open-source projects: http://andaily.com/my_projects.html

More help please contact: [email protected]

项目中文GIT库地址: https://gitee.com/shengzhao/spring-oauth-server

Spring Security OAuth2 开发指南[中文] https://www.oschina.net/translate/spring-security-oauth-docs-oauth2

Expect your joining...

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].