0

I need to configure LDAP with my Micronaut app, but I to need add the property java.naming.referral=follow to JNDI configuration, so I tried this:

  security:
    enabled: true
    ldap:
      default:
         enabled: true
         context:
             server: 'ldap://server.local:389'
             managerDn: CN=ldap_kafka,CN=Managed Service Accounts,DC=mycomponat,DC=local
             managerPassword: '1234'
             properties:
               java.naming.referral: follow

But when Micronaut read this yaml instead of a map java.naming.referral=follow I have 3 keys: java, naming and referral.

Is there a way to add this property to Micronaut LDAP configuration ?

Ronaldo Lanhellas
  • 2,975
  • 5
  • 46
  • 92

0 Answers0