readme.md 2.0 KB
Newer Older
alvachien's avatar
alvachien 已提交
1 2 3 4 5 6 7 8 9 10
# spring-auth-server-demo

It's a demo project for spring-auth-server.

This project consist of following three sub-projects.

## spring-auth-server-demo

Auth. server, including identity management.

alvachien's avatar
alvachien 已提交
11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
This project embeds the learnings through the following documents:
- [How-to: Implement core services with JPA](https://docs.spring.io/spring-authorization-server/docs/current/reference/html/guides/how-to-jpa.html)
This article adds the JPA implementations to client/authorization/authorization-consent
- [How-to: Customize the OpenID Connect 1.0 UserInfo response](https://docs.spring.io/spring-authorization-server/docs/current/reference/html/guides/how-to-userinfo.html)
    - [OidcUserInfo](https://docs.spring.io/spring-security/site/docs/current/api/org/springframework/security/oauth2/core/oidc/OidcUserInfo.html)
    - [OidcUserInfo.Builder](https://docs.spring.io/spring-security/site/docs/current/api/org/springframework/security/oauth2/core/oidc/OidcUserInfo.Builder.html)
- [Spring Authorization Server Tutorial](https://www.appsdeveloperblog.com/spring-authorization-server-tutorial/)
- [Add Roles to JWT Issued by Spring Authorization Server](https://www.appsdeveloperblog.com/add-roles-to-jwt-issued-by-new-spring-authorization-server/)
- [Role-based Access Control in Spring Authorization Server](https://www.appsdeveloperblog.com/role-based-access-control-in-spring-authorization-server/)
- [Spring Security: Authentication with a Database-backed UserDetailsService](https://www.baeldung.com/spring-security-authentication-with-a-database)


To be read?
- [Spring Security ACL](https://www.jianshu.com/p/b971b4e6ec16)

alvachien's avatar
alvachien 已提交
26 27 28 29 30 31
Dependencies:
- Java 17;
- Spring Boot 3.0;
    - Spring Boot JPA;
    - Spring Boot Web;
- SQL Server 2019;
alvachien's avatar
alvachien 已提交
32
- Spring Auth Server;
alvachien's avatar
alvachien 已提交
33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54


## spring-resource-server-demo

Resource server.

Dependencies:
- Java 17;
- Spring Boot 3.0;
    - Spring Boot JPA;
    - Spring Boot Web;
- SQL Server 2019;
- Resource Server;

## angular-client-demo

An angular client which consume that resources.

Dependencies:
- Angular 14;
- Typescript 4.6.2;