Actions
Task #710
closedAuthentication with more provisioning mapping fails
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