Revize e111342b
Přidáno uživatelem Jakub Šmíd před asi 3 roky(ů)
backend/src/main/resources/application.properties | ||
---|---|---|
7 | 7 |
spring.jpa.open-in-view=false |
8 | 8 |
spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.PostgreSQL10Dialect |
9 | 9 |
spring.jpa.properties.hibernate.format_sql=true |
10 |
spring.jpa.show-sql=true |
|
10 |
spring.jpa.show-sql=true |
|
11 | ||
12 | ||
13 |
application.jwt.secretKey=securesecuresecuresecuresecuresecuresecuresecuresecuresecuresecuresecuresecure |
|
14 |
application.jwt.tokenPrefix=Bearer |
|
15 |
application.jwt.tokenExpirationAfterMinutes=15 |
|
16 |
application.jwt.refreshTokenExpirationAfterMonths=6 |
|
17 |
application.jwt.accessTokenName=access_token |
|
18 |
application.jwt.refreshTokenName=refresh_token |
|
19 |
application.jwt.claimAuthoritiesName=authorities |
Také k dispozici: Unified diff
Added JWT and permissions, changed project structure
- filters when authenticating - sends JWT
- filters per request - controls JWT
- added permission to user (READ, WRITE, DELETE)
- created package-by-feature from package-by-layer
re #9204