[prev in list] [next in list] [prev in thread] [next in thread]
List: forgerock-opendj
Subject: [Opendj] =?utf-8?q?_Re=3A__Adding_attributes_to_existing_classes?=
From: ludovic.poitou () forgerock ! com (Ludovic Poitou)
Date: 2013-05-16 9:22:58
Message-ID: etPan.5194a572.4e6afb66.1cd9 () lpmac ! local
[Download RAW message or body]
Hi Adam,
In addition to Chris suggestion, OpenDJ does support multiple inheritance. However, a \
structural object class can only inherit from structural or abstract object classes. \
Likewise an auxiliary object class can only inherit from auxiliary or abstract object \
classes.
Kind regards,
Ludovic
---
Ludovic Poitou
Product Manager for OpenDJ, the open source directory services
ForgeRock France?
?
On May 15, 2013 at 21:57:10 , Adam Greene (mr.adam.greene at gmail.com) wrote:
Standards are all well and good, but when there is an application-specific instance \
of an LDAP store, there isn't a hard requirement to adhere to the limitations of \
inetOrgperson. In this instance I was able to use a new subclass, but there are \
certainly cases where that is not possible with off-the-shelf products.?
Other products do allow auxiliary classes to be added to the object class definition \
itself so that new objects will automatically get it. Do I understand correctly that \
this is not possible?.?
On Wed, May 15, 2013 at 9:02 AM, Ludovic Poitou <ludovic.poitou at forgerock.com> \
wrote: Hi Adam,
If you plan to extend an object class to add new attribute, the proper way is to use \
either subclassing or auxiliary object class. Which means that you have to add the \
object class when you are adding the new attributes to entries. There is no way to \
have the object class to magically appear in the entries.
You shouldn't modify existing object classes especially if it's defined in \
00-core.ldif which means it standard.
Kind regards,
Ludovic
---
Ludovic Poitou
Product Manager for OpenDJ, the open source directory services
ForgeRock France?
On May 15, 2013 at 17:48:40 , Adam Greene (mr.adam.greene at gmail.com) wrote:
All of the documentation points to creating a new object class to hold any new \
attributes. Is there a way to add attributes to an existing class? Either by having \
the attributes directly on the object or via an aux class that will be added *by \
default* to new instances of a class. A method that wouldn't involve editing the \
00-core.ldif file?
_______________________________________________
OpenDJ mailing list
OpenDJ at forgerock.org
https://lists.forgerock.org/mailman/listinfo/opendj
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.forgerock.org/pipermail/opendj/attachments/20130516/b78643fc/attachment-0001.html \
-------------- next part --------------
A non-text attachment was scrubbed...
Name: EF022AA8-D95A-4282-846C-6548A43BD062.png
Type: image/png
Size: 73804 bytes
Desc: not available
Url : http://lists.forgerock.org/pipermail/opendj/attachments/20130516/b78643fc/attachment-0001.png \
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic