protected void configureLdapAuthenticationProvider ( final AuthenticationManagerBuilder auth , final MonitorProperties . Endpoints . LdapSecurity ldap ) { if ( isLdapAuthorizationActive ( ) ) { val p = new MonitorEndpointLdapAuthenticationProvider ( ldap , securityProperties ) ; auth . authenticationProvider ( p ) ; } else { LOGGER . trace ( "LDAP authorization is undefined, given no LDAP url, base-dn, search filter or role/group filter is configured" ) ; } }
Configure ldap authentication provider .