VirtualMemberof Plug-In Understanding the General Purpose Plug-Ins

4-10 Oracle Fusion Middleware Administrators Guide for Oracle Virtual Directory ContainerDN An optional parameter, ContainerDN identifies the containers the VirtualAttribute plug-in applies to. The VirtualAttribute plug-in is applicable for all entries under the containerDN which match the filter specified by the matchFilter parameter. This parameter can be repeated to specify multiple containerDNs. This parameter also restricts the VirtualAttribute plug-in to a certain branch within data exposed by the adapter. The default setting is , or DSE—that is, if you do not set the ContainerDN parameter, the VirtualAttribute plug-in searches the entire directory tree. MatchFilter An optional parameter, MatchFilter identifies the entries the VirtualAttribute plug-in applies to. The VirtualAttribute plug-in is applicable for all entries under containerDN that match the filter specified by the MatchFilter parameter. If you do not set the MatchFilter parameter, the VirtualAttribute plug-in is applicable for all the entries under the DNs identified by ContainerDN parameter. AddAttribute A list of attributes to add to the entry and a value to assign to these virtual attributes. If an attribute identified by the AddAttribute parameter already exists in the entry, the VirtualAttribute plug-in appends the specified values to the existing set of values. The value can be a constant, another attribute, or a combination of attribute values and constants. You can set the AddAttribute parameter multiple times for the VirtualAttribute plug-in. The value you set for the AddAttribute parameter must be mutually exclusive, that is, different, from the ReplaceAttribute. For example: ■ To add the values of the cn attribute to uid and displayName, set the value of the AddAttribute parameter to: uid=displayName=cn ■ To add the constant value Acme to the companyName attribute, set the value for AddAttribute parameter to: companyName=Acme ■ To add a combination of cn, sn, and dc values to the member attribute, set the AddAttribute parameter value to: member={cn=cn, sn=sn, dc=oracle, dc=com} ReplaceAttribute A list of attributes to add to the entry and a value to assign to these virtual attributes. If an attribute identified by the ReplaceAttribute parameter already exists in the entry, the VirtualAttribute plug-in replaces them using the value you supply. The value can be a constant, another attribute, or a combination of attribute values and constants. You can set the ReplaceAttribute parameter multiple times for the VirtualAttribute plug-in. The value you set for the ReplaceAttribute parameter must be mutually exclusive, that is, different, from the AddAttribute. For example: Note: At a minimum, you must set either the AddAttribute or ReplaceAttribute configuration parameter. Note: The curly braces {} are important.