From 12788bf688534c23316bf70fd4efcef82ca7c8d0 Mon Sep 17 00:00:00 2001 From: sebastienblanc Date: Wed, 29 Nov 2017 10:31:25 +0100 Subject: [PATCH] add warning for Spring Boot deployed as WARs --- securing_apps/topics/oidc/java/spring-boot-adapter.adoc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/securing_apps/topics/oidc/java/spring-boot-adapter.adoc b/securing_apps/topics/oidc/java/spring-boot-adapter.adoc index 04503120b0..0611a85e7e 100644 --- a/securing_apps/topics/oidc/java/spring-boot-adapter.adoc +++ b/securing_apps/topics/oidc/java/spring-boot-adapter.adoc @@ -91,3 +91,5 @@ keycloak.securityConstraints[1].authRoles[0] = admin keycloak.securityConstraints[1].securityCollections[0].name = admin stuff keycloak.securityConstraints[1].securityCollections[0].patterns[0] = /admin ---- + +WARNING: If you plan to deploy your Spring Application as a WAR then you should not use the Spring Boot Adapter and use the dedicated adapter for the application server or servlet container you are using. Your Spring Boot should also contain a `web.xml` file.