Apache DS 存放xml信息

宏奕0920 2010-07-01 11:44:57
项目中要将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_>
...全文
56 1 打赏 收藏 转发到动态 举报
写回复
用AI写文章
1 条回复
切换为时间正序
请发表友善的回复…
发表回复
宏奕0920 2010-07-02
  • 打赏
  • 举报
回复
没人啊,自己顶下

67,513

社区成员

发帖
与我相关
我的任务
社区描述
J2EE只是Java企业应用。我们需要一个跨J2SE/WEB/EJB的微容器,保护我们的业务核心组件(中间件),以延续它的生命力,而不是依赖J2SE/J2EE版本。
社区管理员
  • Java EE
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧