Project

General

Profile

Actions

Task #710

closed

Authentication with more provisioning mapping fails

Added by Radek Tomiška over 7 years ago. Updated over 7 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Ondřej Kopr
Category:
Provisioning
Target version:
Start date:
09/20/2017
Due date:
% Done:

100%

Estimated time:
3.00 h
Owner:

Description

When more than one provisioning mapping is defined on one system (e.g. for different entity type), then authentication by target system fails - exception occurs in repository query (SysSystemAttributeMappingRepository#findAuthenticationAttribute, SysSystemAttributeMappingRepository#findUidAttribute) - more records are found and only single record is expected. SystemEntityType parameter has to be added into method parameters and propagated higher - to authentication, where SystemEntityType.IDENTITY will be used as parameter value.
This change solves issue, when exists more mapping for different SystemEntityType. We need to add contraint - SystemEntityType should have only one provisioning mapping.

Actions

Also available in: Atom PDF