项目中要将xml中的信息存放到ldap服务器上面,我用的是apache ds
通过jndi实现对ladp目录的操作,但是现在遇到要如下格式的xml信息存放进去,我不知道该如何去选择哪个objectClass了<Directly_assigned_user_rights__Windows_>
<Check_1>
<Message_String_ID_and_Category>
<String_ID>ESM_DIRECT_RIGHTS_OF_USER</String_ID>
<Category>System Information</Category>
</Message_String_ID_and_Category>
<Platform_and_Message_Numeric_ID>
Windows 2000 (108043)
Windows 2003 (208043)
Windows 2008 (251043)
Windows 7 (261043)
Windows Vista (231043)
Windows XP (203043)
</Platform_and_Message_Numeric_ID>
<Message_Title_and_Description>
<Title>Directly assigned user right</Title>
<Description>The user has a directly assigned right reported in the Information field.</Description>
</Message_Title_and_Description>
<Additional_Information>
<Severity>green-0</Severity>
<Correctable>false</Correctable>
<Snapshot_Updatable>false</Snapshot_Updatable>
<Template_Updatable>false</Template_Updatable>
<Information_Field_Format>[%s]</Information_Field_Format>
</Additional_Information>
</Check_1>
</Directly_assigned_user_rights__Windows_>