Configure grails spring-security-ldap plugin to use STARTTLS
Is it possible to configure the Grails spring-security-ldap plugin to use STARTTLS?
Grails version 4
spring-security-core:4.0.3
spring-security-ldap:4.0.0.M1
I have tried to configure this in a CustomLdapContextInitializer.groovy in src/main/groovy and the bean added in resources.groovy:
package RIMS
import org.springframework.ldap.core.support.LdapContextSource
import javax.naming.ldap.InitialLdapContext
import javax.naming.ldap.LdapContext
import javax.naming.ldap.StartTlsRequest
import...