readme.md 2.2 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
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)
alvachien's avatar
alvachien 已提交
21 22
- [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)
alvachien's avatar
alvachien 已提交
23 24 25 26 27


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

alvachien's avatar
alvachien 已提交
28

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


## 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;