for ( AttributeType attributeType : entry.getAttributeTypes() )
{
if ( !schemaManager.getAttributeTypeRegistry().contains( attributeType.getName() ) )
{
throw new LdapInvalidAttributeTypeException( I18n.err( I18n.ERR_275, attributeType.getName() ) );
}
}
// We will check some elements :
// 1) the entry must have all the MUST attributes of all its ObjectClass