Skip to content

ODM: Consider derived object classes as well #426

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
kwin opened this issue Oct 13, 2016 · 2 comments
Open

ODM: Consider derived object classes as well #426

kwin opened this issue Oct 13, 2016 · 2 comments

Comments

@kwin
Copy link
Contributor

kwin commented Oct 13, 2016

Currently for mapping LDAP entries to ODM annotated classes the objectclass field on the annotation @Entry is evaluated. The mapping considers only LDAP entries having the given class explicitly set as eligible for mapping. In some cases that objectclass is not explicitly set, but rather a more specific objectclass, which derives from the required objectclass (e.g. inetOrgPerson instead of Person). Of course those entries should also be considered when doing the mapping.

Not sure how to implement that, because to consider any derived objectclasses one would probably need to retrieve the according schema (even transitively).

@kwin
Copy link
Contributor Author

kwin commented Oct 13, 2016

Probably subschemaSubentry can be used to retrieve the hierarchy: https://tools.ietf.org/html/rfc4512#section-4.2

@kwin
Copy link
Contributor Author

kwin commented Jun 21, 2019

This seems to duplicate #338.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant