SelectUserByIdentityQueryHandlerSetting
This attribute matches an end-user with a resource from the central repository.
Authorization mechanisms within Identity Manager rely on assigning a profile to a resource that stands for the end-user digital identity.
To that end, end-user authentication credentials are linked to such an identity using the following pattern:
- authentication credentials are retrieved;
- authentication credentials are trimmed using the
AfterTokenand/orBeforeTokenattributes; - the trimmed result is matched against the
ResourceIdentityPropertyof resources with the entity type specified byOwnerEntityType; - the matching resource is used to find a profile and authorization for that digital identity.
After modifying the authentication mode via SelectUserByIdentityQueryHandlerSetting, Identity Manager server must be restarted. On a SaaS environment, contact your Identity Manager administrator.
Examples
The following example links the authentication credentials of an end-user to its matching resource of EntityType Directory_User.
In this example, authentication has been set up using Integrated Windows Authentication. In that case, the login used by the end-user is in the form DOMAIN/userName.
The AfterToken attribute parses the DOMAIN/userName string into userName.
The parsed result userName is compared with AD_Entry:sAMAccountName property value of Directory_User resources.
The matching Directory_User resource is the resource that stands for the end-user identity within Identity Manager.
<SelectUserByIdentityQueryHandlerSetting
ResourceIdentityProperty="AD_Entry:sAMAccountName"
ResourceDisplayNameProperty="AD_Entry:displayName"
OwnerPhotoTagProperty="Directory_User:PhotoTag"
OwnerEntityType="Directory_User"
AfterToken="\"/>
Properties
| Property | Details |
|---|---|
| AfterToken optional | Type: String Description: Second character used to trim the authentication login. The trimmed result is the content of the authentication login between AfterToken and BeforeToken. If BeforeToken is empty, trimmed result is everything after AfterToken. If AfterToken is empty, trimmed result is everything before BeforeToken. |
| BeforeToken optional | Type: String Description: First character used to trim the authentication login.The trimmed result is the content of the authentication login between AfterToken and BeforeToken. If BeforeToken is empty, trimmed result is everything after AfterToken. If AfterToken is empty, trimmed result is everything before BeforeToken. |
| Identifier default value: SelectUserByIdentityQueryHandler | Type: String Description: Unique identifier of the setting. |
| OwnerEntityType optional | Type: String Description: Entity type of the resources used to store digital identities within Usercube. |
| OwnerPhotoTagProperty optional | Type: String Description: Photo property for Usercube users. |
| ResourceDisplayNameProperty optional | Type: String Description: Property used for displaying login data at the top right of the application. |
| ResourceIdentityProperty optional | Type: String Description: Identity-resource property supposed to match the authentication login used by the end-user. |