내 커뮤니티 업적 표시줄을 확대합니다.

Submissions are now open for the 2026 Adobe Experience Maker Awards.

Mark Solution

활동이 없어 이 대화는 잠겼습니다. 새 게시물을 작성해 주세요.

해결됨

Custom Jackrabbit Oak Identity Provider

Avatar

Level 1

Greetings,

I just wrote my own external Oak identity provider (1) based on LDAP identity provider in the Oak project (2) and configured it based on instructions in AEM documentation (3).

I must have missed something since the authenticate method (4) is never called even if the service is activated and the identity provider name seems to be accepted. Do i need some additional JAAS configuration somewhere or what might be the problem?

Thank you in advance.

1) http://jackrabbit.apache.org/oak/docs/security/authentication/externalloginmodule.html
2) http://jackrabbit.apache.org/oak/docs/security/authentication/ldap.html
3) http://docs.adobe.com/docs/en/aem/6-0/administer/security/ldap-config.html
4) http://jackrabbit.apache.org/oak/docs/apidocs/org/apache/jackrabbit/oak/spi/security/authentication/...

1 채택된 해결책 개

Avatar

정확한 답변 작성자:
Level 10

The out of the box LdapIdentityProvider is a service implementing the ExternalIdentityProvider interface. 
The source code of [1] might get you some hints..

[1]   https://github.com/apache/jackrabbit-oak/tree/1.2/oak-auth-ldap

원본 게시물의 솔루션 보기

2 답변 개

Avatar

정확한 답변 작성자:
Level 10

The out of the box LdapIdentityProvider is a service implementing the ExternalIdentityProvider interface. 
The source code of [1] might get you some hints..

[1]   https://github.com/apache/jackrabbit-oak/tree/1.2/oak-auth-ldap

Avatar

Level 1

Thank you for your answer.

Yes. That is the one i used as my template and everything seems to be running ok. It's just that the authenticate method on that identity provider never gets called.

I'm not sure if i'm missing something in the configuration. For example, what should i put in the "JAAS Realm" textfield in "Apache Jackrabbit Oak External Login Module" configuration? Is the default "jackrabbit.oak" or "com.day.crx" or empty or something else..?