*/
public void groupModified( Dn name, List<Modification> mods, Entry entry, SchemaManager schemaManager )
throws LdapException
{
Attribute members = null;
AttributeType memberAttr = null;
Attribute oc = entry.get( OBJECT_CLASS_AT );
if ( oc.contains( SchemaConstants.GROUP_OF_NAMES_OC ) )
{
members = entry.get( MEMBER_AT );
memberAttr = schemaManager.getAttributeType( SchemaConstants.MEMBER_AT );
}
if ( oc.contains( SchemaConstants.GROUP_OF_UNIQUE_NAMES_OC ) )
{
members = entry.get( UNIQUE_MEMBER_AT );
memberAttr = schemaManager.getAttributeType( SchemaConstants.UNIQUE_MEMBER_AT );
}
if ( members == null )
{
return;
}
for ( Modification modification : mods )
{
if ( memberAttr.getOid() == modification.getAttribute().getId() )
{
Element memSetElement = ehCache.get( name.getNormName() );
if ( memSetElement != null )
{