https://github.com/linmasahiro/spring-security-oauth2
A simple OAuth2 sample on spring
https://github.com/linmasahiro/spring-security-oauth2
Last synced: 3 months ago
JSON representation
A simple OAuth2 sample on spring
- Host: GitHub
- URL: https://github.com/linmasahiro/spring-security-oauth2
- Owner: linmasahiro
- Created: 2019-06-25T14:23:32.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2022-12-10T06:12:28.000Z (almost 3 years ago)
- Last Synced: 2025-03-24T06:52:48.884Z (7 months ago)
- Language: Java
- Size: 60.5 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 10
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# spring-security-oauth2 no spring-boot
A simple OAuth2 sample on springMVC
網路上很多範例都是採用Spring-Boot來架起Spring做OAuth2的範例
剛好有個案子不能使用SpringBoot又要導入OAuth2,所以收集了網路
上一些做法後將成功執行的版本上傳供參考用。您需要先有Maven來管理你的jar,然後建立springMVC的資料夾後將該專案放入資料夾中啟動
首頁網址為 http://localhost:8080/url/v1
---
ネットに検索するとSpring-bootで作られたサンプルがたくさんありますが
SpringMVCのみのサンプルはあまりないですので今回の機に実行できるサンプル
をアップロードしました。ご参考に。起動の前にMavenの実装を忘れずに「springMVC」という名前のフォルダを作成しプロジェクトを入れてください。
インデックスURLは http://localhost:8080/url/v1 です。
spring mvc oauth no use boot