You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@syncope.apache.org by il...@apache.org on 2022/04/06 11:36:05 UTC
[syncope] branch master updated: [SYNCOPE-1672] Ensure IdMImplementationInfoProvider takes on IdM stuff only and delegates the rest to IdRepoImplementationInfoProvider (#336)
This is an automated email from the ASF dual-hosted git repository.
ilgrosso pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/syncope.git
The following commit(s) were added to refs/heads/master by this push:
new 40710978a4 [SYNCOPE-1672] Ensure IdMImplementationInfoProvider takes on IdM stuff only and delegates the rest to IdRepoImplementationInfoProvider (#336)
40710978a4 is described below
commit 40710978a407d10e35f2b8f776e6872ae31fdbdb
Author: SamuelGaro <72...@users.noreply.github.com>
AuthorDate: Wed Apr 6 13:36:00 2022 +0200
[SYNCOPE-1672] Ensure IdMImplementationInfoProvider takes on IdM stuff only and delegates the rest to IdRepoImplementationInfoProvider (#336)
---
.../syncope/client/console/commons/IdMImplementationInfoProvider.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/client/idm/console/src/main/java/org/apache/syncope/client/console/commons/IdMImplementationInfoProvider.java b/client/idm/console/src/main/java/org/apache/syncope/client/console/commons/IdMImplementationInfoProvider.java
index fa15b29b30..6c94809670 100644
--- a/client/idm/console/src/main/java/org/apache/syncope/client/console/commons/IdMImplementationInfoProvider.java
+++ b/client/idm/console/src/main/java/org/apache/syncope/client/console/commons/IdMImplementationInfoProvider.java
@@ -46,7 +46,7 @@ public class IdMImplementationInfoProvider extends IdRepoImplementationInfoProvi
@Override
public List<String> getClasses(final ImplementationTO implementation, final ViewMode viewMode) {
List<String> classes = new ArrayList<>();
- if (viewMode == ViewMode.JSON_BODY) {
+ if (viewMode == ViewMode.JSON_BODY && IdMImplementationType.values().containsKey(implementation.getType())) {
switch (implementation.getType()) {
case IdMImplementationType.PULL_CORRELATION_RULE:
classes = lookup.getClasses(PullCorrelationRuleConf.class).stream().