Expand my Community achievements bar.

Enhance your AEM Assets & Boost Your Development: [AEM Gems | June 19, 2024] Improving the Developer Experience with New APIs and Events
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