Skip to content

Commit d300cd9

Browse files
authored
Merge pull request #1 from YunaiV/master
更新合并
2 parents 66ec3e1 + f8ab2df commit d300cd9

File tree

1,870 files changed

+49649
-2673
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,870 files changed

+49649
-2673
lines changed

.gitignore

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,11 @@ hs_err_pid*
2727
SpringBoot-Labs.ipr
2828
SpringBoot-Labs.iws
2929
target/**
30+
*.lst
3031
*.iml
3132
*ipr
32-
*.iws
33+
*.iws
34+
35+
### IntelliJ IDEA
36+
.idea
37+
target

README.md

Lines changed: 303 additions & 43 deletions
Large diffs are not rendered by default.

lab-01/lab-01-springsecurity-demo-role/src/main/java/cn/iocoder/springboot/lab01/springsecurity/config/SecurityConfig.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ protected void configure(HttpSecurity http) throws Exception {
1616
http
1717
// 配置请求地址的权限
1818
.authorizeRequests()
19-
.antMatchers("/test/echo").permitAll() // 所有用户可访问
19+
.antMatchers("/test/demo").permitAll() // 所有用户可访问
2020
.antMatchers("/test/admin").hasRole("ADMIN") // 需要 ADMIN 角色
2121
.antMatchers("/test/normal").access("hasRole('ROLE_NORMAL')") // 需要 NORMAL 角色。
2222
// 任何请求,访问的用户都需要经过认证
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
<http://www.iocoder.cn/Spring-Boot/Spring-Security/?github>

lab-02/README.md

Lines changed: 0 additions & 1 deletion
This file was deleted.

lab-02/authorization-code-server/target/classes/application.properties

Lines changed: 0 additions & 3 deletions
This file was deleted.

lab-02/implicit-server/target/classes/application.properties

Lines changed: 0 additions & 3 deletions
This file was deleted.

lab-02/resource-owner-password-credentials-server-by-jdbc-token-store/target/classes/application.properties

Lines changed: 0 additions & 9 deletions
This file was deleted.

lab-02/resource-owner-password-credentials-server-by-jdbc-token-store/target/classes/data.sql

Lines changed: 0 additions & 21 deletions
This file was deleted.

lab-02/resource-owner-password-credentials-server-by-jdbc-token-store/target/classes/schema.sql

Lines changed: 0 additions & 66 deletions
This file was deleted.

0 commit comments

Comments
 (0)