Federation Manager Guide › User Directory Connections for Authentication › Create a Common View of the Same User Information Across Directories › Establish Connections to User Directories › Advanced User Attribute Mapping Examples › Map a Sort Name Attribute with Expression and Alias Mapping Types
Map a Sort Name Attribute with Expression and Alias Mapping Types
Use an expression attribute mapping and an alias attribute mapping to represent the sort name of a user in Directory A and Directory B.
Deployment
- Directory A does not uniquely identify a the sort name for each user. For each user, Directory A stores the first name as givenname and a last name as surname for each user.
- Directory B identifies a sort name using sort_name.
Solution
- Create an expression attribute mapping for Directory A:
- Name
-
SortName
- Mapping Type
-
Expression
- Definition
-
(surname + "," + givenname)
Note: The expression must conform to the syntax rules of an expression.
- Create an alias attribute mapping for Directory B:
- Name
-
SortName
- Mapping Type
-
Alias
- Definition
-
sort_name
When referencing users in Directory A, the sort name is calculated based on the specified expression. When referencing users in Directory B, the sort name is represented by the attribute sort_name.
|
Copyright © 2012 CA.
All rights reserved.
|
|