Skip to content

Commit 8b45d6d

Browse files
committed
Explicitly disable the LDAP health endpoint in For the Flowable UI Idm tests
Before 2.1.0 the LdapHealthIndicator was not created due to the missing LdapOperations. However since 2.1 the LdapOperations bean creation was moved into the LdapAutoConfiguration (see spring-projects/spring-boot#13136) which lead to the LdapHealthIndicator being created and thus the FlowableIdmApplicationSecurityTest was failing due to the ldap user and password being null. See spring-projects/spring-boot#17861 for the problem in Spring Boot
1 parent 61bab59 commit 8b45d6d

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

modules/flowable-ui-idm/flowable-ui-idm-app/src/test/resources/application-test-ldap.properties

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ spring.ldap.embedded.credential.password=${flowable.idm.ldap.password}
1515
spring.ldap.username=${flowable.idm.ldap.user}
1616
spring.ldap.password=${flowable.idm.ldap.password}
1717

18+
management.health.ldap.enabled=true
19+
1820
# Query params
1921
flowable.idm.ldap.query.userById=(&(objectClass=inetOrgPerson)(uid={0}))
2022
flowable.idm.ldap.query.userByFullNameLike=(&(objectClass=inetOrgPerson)(|({0}=*{1}*)({2}=*{3}*)))
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
foo=test
22
spring.datasource.url=jdbc:h2:mem:%s;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=FALSE
3+
management.health.ldap.enabled=false

0 commit comments

Comments
 (0)