@Inject
public LdapUserAuthenticatorProvider(LdapConnector ldapConnector,
UserService userService,
LdapSettingsService ldapSettingsService) {
if (ldapUserAuthenticator == null)
ldapUserAuthenticator = new LdapUserAuthenticator(ldapConnector, ldapSettingsService, userService);
}