Merge pull request #130 from ahus1/KEYCLOAK-4814-disable-keycloak-spring-boot-by-configuration

KEYCLOAK-4814 disable keycloak spring boot by configuration
This commit is contained in:
Stian Thorgersen 2017-05-24 07:12:09 +02:00 committed by GitHub
commit 6a62a589f7

View file

@ -70,6 +70,8 @@ keycloak.credentials.secret = 11111111-1111-1111-1111-111111111111
keycloak.use-resource-role-mappings = true
----
You can disable the Keycloak Spring Boot Adapter (for example in tests) by setting `keycloak.enabled = false`.
To configure a Policy Enforcer, unlike keycloak.json, `policy-enforcer-config` must be used instead of just `policy-enforcer`.
You also need to specify the Java EE security config that would normally go in the `web.xml`.