Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.
SOLVED

LdapIdentityProvider is not resolved in service

Avatar

Level 7

Hi Team,

I have to get the org.apache.jackrabbit.oak.security.authentication.ldap.impl.LdapIdentityProvider configuration in another service. When I tried include it using @Reference, it's package is not resolving. But org.apache.jackrabbit.oak.spi.security.authentication.external.ExternalIdentityProvider is resolved and I'm able to use it. I need to get the LdapIdentityProvider's configured information to connect to LDAP programmatically.

Please help me in this.

Thanks,

AryA.

1 Accepted Solution

Avatar

Correct answer by
Employee

Hi,

That package is not exported so you cannot use it. If you want to read the configuration values, I'd suggest using the OSGi Configuration Admin service.

Regards,

Justin

View solution in original post

1 Reply

Avatar

Correct answer by
Employee

Hi,

That package is not exported so you cannot use it. If you want to read the configuration values, I'd suggest using the OSGi Configuration Admin service.

Regards,

Justin