summaryrefslogtreecommitdiffstats
path: root/aai-traversal/src/main/resources/application-keycloak.properties
diff options
context:
space:
mode:
authorSam Huang <sam.huang@yoppworks.com>2021-03-23 10:16:47 -0600
committerSam Huang <sam.huang@yoppworks.com>2021-03-31 12:42:42 -0600
commit41bbec0fa7d767536d892c4ad76dadcb54aa796f (patch)
tree04765df7a92e325acb8bcbcc99433918bd3e9ce1 /aai-traversal/src/main/resources/application-keycloak.properties
parent7e39a251880314af510a1a746fe28493403f1bc2 (diff)
Add keycloak integration
Issue-ID: AAI-3298 Signed-off-by: Sam Huang <sam.huang@yoppworks.com> Change-Id: I2d99769ab8d189d61de610ec020b15a8fe0aa652
Diffstat (limited to 'aai-traversal/src/main/resources/application-keycloak.properties')
-rw-r--r--aai-traversal/src/main/resources/application-keycloak.properties13
1 files changed, 13 insertions, 0 deletions
diff --git a/aai-traversal/src/main/resources/application-keycloak.properties b/aai-traversal/src/main/resources/application-keycloak.properties
new file mode 100644
index 0000000..86adb59
--- /dev/null
+++ b/aai-traversal/src/main/resources/application-keycloak.properties
@@ -0,0 +1,13 @@
+spring.autoconfigure.exclude=\
+ org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration,\
+ org.springframework.boot.autoconfigure.orm.jpa.HibernateJpaAutoConfiguration
+
+multi.tenancy.enabled=true
+keycloak.auth-server-url=http://localhost:8180/auth
+keycloak.realm=aai-traversal
+keycloak.resource=aai-traversal-app
+keycloak.public-client=false
+keycloak.principal-attribute=preferred_username
+
+keycloak.ssl-required=external
+keycloak.bearer-only=true