generated from it-at-m/oss-repository-en-template
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
🔧 s3 decouple from spring oauth setup (#159)
* 🔧 s3 rm unneeded oauth scope and username mapping * Revert "🔧 s3 rm unneeded oauth scope and username mapping" This reverts commit 8a1e1fe. * 🔥 s3-rest-client-starter rm default oauth setup * 🔥 s3-rest-service rm configuration via env vars * 📝 s3 README add example for auth setup * 📝 s3 README cleanup and shortform * ♻️ s3-rest-service properties use shortform instead of custom env var * 📝 s3 README shortform * ♻️ email refactor s3 rest test properties * 🔥 email cleanup s3 rest test properties * 📝 s3 README generalize and add comments * 🐛 s3 and email fix s3 auth shortform
- Loading branch information
Showing
7 changed files
with
68 additions
and
68 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,6 +6,20 @@ spring: | |
port: 1025 | ||
username: [email protected] | ||
password: secret | ||
security: | ||
oauth2: | ||
client: | ||
provider: | ||
sso: | ||
issuer-uri: http://keycloak:8100/auth/realms/local_realm | ||
user-info-uri: ${spring.security.oauth2.client.provider.sso.issuer-uri}/protocol/openid-connect/userinfo | ||
jwk-set-uri: ${spring.security.oauth2.client.provider.sso.issuer-uri}/protocol/openid-connect/certs | ||
registration: | ||
s3: | ||
provider: sso | ||
authorization-grant-type: client_credentials | ||
client-id: local | ||
client-secret: client_secret | ||
refarch: | ||
mail: | ||
from-address: [email protected] | ||
|
@@ -14,6 +28,3 @@ refarch: | |
client: | ||
document-storage-url: http://localhost:8086 | ||
enable-security: true | ||
SSO_ISSUER_URL: http://keycloak:8100/auth/realms/local_realm | ||
SSO_S3_CLIENT_ID: local | ||
SSO_S3_CLIENT_SECRET: client_secret |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
25 changes: 0 additions & 25 deletions
25
...ain/java/de/muenchen/refarch/integration/s3/client/factory/YamlPropertySourceFactory.java
This file was deleted.
Oops, something went wrong.
17 changes: 0 additions & 17 deletions
17
...t/refarch-s3-integration-rest-client-starter/src/main/resources/application-s3-client.yml
This file was deleted.
Oops, something went wrong.
11 changes: 10 additions & 1 deletion
11
...gration-rest/refarch-s3-integration-rest-service/src/main/resources/application-local.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters