Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
alvachien
spring-auth-server-demo
提交
424be68a
S
spring-auth-server-demo
项目概览
alvachien
/
spring-auth-server-demo
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
S
spring-auth-server-demo
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
424be68a
编写于
12月 06, 2022
作者:
alvachien
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Prepare add registeration
上级
c088f62a
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
22 addition
and
2 deletion
+22
-2
auth-server-demo/pom.xml
auth-server-demo/pom.xml
+15
-0
readme.md
readme.md
+7
-0
resource-server-demo/src/main/java/com/poc/alvachien/resourceserverdemo/controller/NonProtectedController.java
...resourceserverdemo/controller/NonProtectedController.java
+0
-2
未找到文件。
auth-server-demo/pom.xml
浏览文件 @
424be68a
...
@@ -40,6 +40,15 @@
...
@@ -40,6 +40,15 @@
<artifactId>
spring-security-oauth2-authorization-server
</artifactId>
<artifactId>
spring-security-oauth2-authorization-server
</artifactId>
<version>
1.0.0
</version>
<version>
1.0.0
</version>
</dependency>
</dependency>
<dependency>
<groupId>
org.springframework.boot
</groupId>
<artifactId>
spring-boot-starter-thymeleaf
</artifactId>
</dependency>
<dependency>
<groupId>
org.springframework.boot
</groupId>
<artifactId>
spring-boot-starter-validation
</artifactId>
</dependency>
<dependency>
<dependency>
<groupId>
com.microsoft.sqlserver
</groupId>
<groupId>
com.microsoft.sqlserver
</groupId>
<artifactId>
mssql-jdbc
</artifactId>
<artifactId>
mssql-jdbc
</artifactId>
...
@@ -55,6 +64,12 @@
...
@@ -55,6 +64,12 @@
<groupId>
org.springframework.boot
</groupId>
<groupId>
org.springframework.boot
</groupId>
<artifactId>
spring-boot-starter-test
</artifactId>
<artifactId>
spring-boot-starter-test
</artifactId>
<scope>
test
</scope>
<scope>
test
</scope>
<exclusions>
<exclusion>
<groupId>
org.junit.vintage
</groupId>
<artifactId>
junit-vintage-engine
</artifactId>
</exclusion>
</exclusions>
</dependency>
</dependency>
</dependencies>
</dependencies>
...
...
readme.md
浏览文件 @
424be68a
...
@@ -20,6 +20,8 @@ This article adds the JPA implementations to client/authorization/authorization-
...
@@ -20,6 +20,8 @@ This article adds the JPA implementations to client/authorization/authorization-
-
[
Spring Security: Authentication with a Database-backed UserDetailsService
](
https://www.baeldung.com/spring-security-authentication-with-a-database
)
-
[
Spring Security: Authentication with a Database-backed UserDetailsService
](
https://www.baeldung.com/spring-security-authentication-with-a-database
)
-
[
Password storage
](
https://docs.spring.io/spring-security/reference/features/authentication/password-storage.html
)
-
[
Password storage
](
https://docs.spring.io/spring-security/reference/features/authentication/password-storage.html
)
-
[
Spring Security Architecture
](
https://docs.spring.io/spring-security/reference/servlet/architecture.html
)
-
[
Spring Security Architecture
](
https://docs.spring.io/spring-security/reference/servlet/architecture.html
)
-
[
Registration Login example using Spring Boot/Spring Security/JPA/MySql/Thymeleaf
](
https://www.javaguides.net/2019/08/registration-login-example-using-springboot-spring-data-jpa-hibernate-mysql-thymeleaf.html
)
-
[
Source repository
](
git@github.com:RameshMF/registration-login-springboot-security-thymeleaf.git
)
To be read?
To be read?
...
@@ -39,6 +41,11 @@ Dependencies:
...
@@ -39,6 +41,11 @@ Dependencies:
Resource server.
Resource server.
Related documents:
-
[
Spring Boot Resource Server
](
https://docs.spring.io/spring-security/reference/servlet/oauth2/resource-server/index.html
)
-
[
Resource Server samples
](
https://github.com/spring-projects/spring-security-samples/tree/main/servlet/spring-boot/java/oauth2/resource-server
)
Dependencies:
Dependencies:
-
Java 17;
-
Java 17;
-
Spring Boot 3.0;
-
Spring Boot 3.0;
...
...
resource-server-demo/src/main/java/com/poc/alvachien/resourceserverdemo/controller/NonProtectedController.java
浏览文件 @
424be68a
...
@@ -3,8 +3,6 @@ package com.poc.alvachien.resourceserverdemo.controller;
...
@@ -3,8 +3,6 @@ package com.poc.alvachien.resourceserverdemo.controller;
import
org.springframework.web.bind.annotation.GetMapping
;
import
org.springframework.web.bind.annotation.GetMapping
;
import
org.springframework.web.bind.annotation.RequestMapping
;
import
org.springframework.web.bind.annotation.RequestMapping
;
import
org.springframework.web.bind.annotation.RestController
;
import
org.springframework.web.bind.annotation.RestController
;
import
org.springframework.web.bind.annotation.RequestParam
;
@RestController
@RestController
@RequestMapping
(
"/api/NonProtected"
)
@RequestMapping
(
"/api/NonProtected"
)
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录