summaryrefslogtreecommitdiffstats
path: root/aai-resources/src/test
diff options
context:
space:
mode:
authorRodrigo Lima <rodrigo.lima@yoppworks.com>2020-09-03 11:54:27 -0400
committerRodrigo Lima <rodrigo.lima@yoppworks.com>2020-09-08 11:25:04 -0400
commit696ebd9e433f2b6f890c6032a4febdb9d3ec8eb7 (patch)
tree427d1b6980fac114b4503407d434fa7ae979e743 /aai-resources/src/test
parent4714ea1e5f45fe286a25adbcad8e553c6250a821 (diff)
Add keycloak integration
- The feature can be enabled by adding keycloak spring profile in application properties. - Add keycloak springboot and spring security adapter to pom - Exclude keycloak and spring security autoconfiguration in application properties - Add keycloak application properties that is activated when keycloak profile used - Add WebSecurityConfig to config authorization Issue-ID: AAI-3129 Signed-off-by: Rodrigo Lima <rodrigo.lima@yoppworks.com> Change-Id: Iaa086b4075c03237388a997274d01bf8b8114b4d
Diffstat (limited to 'aai-resources/src/test')
-rw-r--r--aai-resources/src/test/resources/application-test.properties6
1 files changed, 5 insertions, 1 deletions
diff --git a/aai-resources/src/test/resources/application-test.properties b/aai-resources/src/test/resources/application-test.properties
index e8a4703..b96b9ce 100644
--- a/aai-resources/src/test/resources/application-test.properties
+++ b/aai-resources/src/test/resources/application-test.properties
@@ -11,7 +11,11 @@ server.servlet.context-path=/
spring.jersey.application-path=${schema.uri.base.path}
-spring.autoconfigure.exclude=org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration,org.springframework.boot.autoconfigure.orm.jpa.HibernateJpaAutoConfiguration
+spring.autoconfigure.exclude=\
+ org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration,\
+ org.springframework.boot.autoconfigure.orm.jpa.HibernateJpaAutoConfiguration,\
+ org.keycloak.adapters.springboot.KeycloakAutoConfiguration,\
+ org.springframework.boot.autoconfigure.security.servlet.SecurityAutoConfiguration
spring.profiles.active=production
#The max number of active threads in this pool