属性配置

可以定制属性配置来使用除缺省属性以外的 LDAP 属性。

例如,缺省情况下,虚拟成员管理器使用 LDAP 属性 mail 作为用户的电子邮件地址。 要为外部邮件地址使用其他属性,必须根据需求配置属性映射。

缺省属性映射的名称与虚拟成员管理器中定义的缺省属性名称相同,如以下示例中所示:

<config:attributes name="mail" propertyName="mail">
  <config:entityTypes>PersonAccount</config:entityTypes>
</config:attributes> 

可以将其修改为使用其他 LDAP 属性,如以下示例中的斜体内容所示。

<config:attributes name="attribute_in_ldap" propertyName="mail">
  <config:entityTypes>PersonAccount</config:entityTypes>
</config:attributes>  

使用 addIdMgrLDAPAttr wsadmin 命令可将 LDAP 属性映射到虚拟成员管理器属性。 欲了解更多信息,请阅读IdMgrRepositoryConfig指挥组AdminTask目的在里面WebSphere Application Server文档。