From 696ebd9e433f2b6f890c6032a4febdb9d3ec8eb7 Mon Sep 17 00:00:00 2001 From: Rodrigo Lima Date: Thu, 3 Sep 2020 11:54:27 -0400 Subject: 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 Change-Id: Iaa086b4075c03237388a997274d01bf8b8114b4d --- aai-resources/pom.xml | 30 +++++++++++++++++++++++++++++- 1 file changed, 29 insertions(+), 1 deletion(-) (limited to 'aai-resources/pom.xml') diff --git a/aai-resources/pom.xml b/aai-resources/pom.xml index 828b91a..a54f79d 100644 --- a/aai-resources/pom.xml +++ b/aai-resources/pom.xml @@ -77,7 +77,7 @@ ${project.basedir}/src/main/resources/application.properties - + 11.0.2 @@ -607,7 +607,26 @@ org.apache.tinkerpop gremlin-groovy + + org.springframework.boot + spring-boot-starter-security + + + org.keycloak + keycloak-spring-boot-starter + + + + + org.keycloak.bom + keycloak-adapter-bom + ${keycloak.version} + pom + import + + + @@ -859,6 +878,15 @@ + + org.jacoco + jacoco-maven-plugin + + + **/*WebSecurityConfig.* + + + -- cgit 1.2.3-korg