/** * Strict mathcing. E.g. null discriminator kind is intepreted as ACCOUNT and it must match the kind * in the shadow. */ public static boolean matches(PrismObject<ShadowType> shadow, ResourceShadowDiscriminator discr) { return matches(shadow.asObjectable(), discr); }
continue; if (ShadowUtil.matches(shadowType, resourceOid, kind, intent)) {
if (ShadowUtil.matches(newLinkRepoShadow, projCtx.getResourceShadowDiscriminator())) { LOGGER.trace("Found new matching link: {}, updating projection context", newLinkRepoShadow); LOGGER.trace("Applying definition from provisioning first."); // MID-3317
"resolving projection shadow in " + contextDescription, task, result); if (shadowDiscriminator != null) { if (!ShadowUtil.matches(shadowType.asPrismObject(), shadowDiscriminator)) { LOGGER.trace("Skipping evaluation of projection {} in {} because it does not match discriminator", shadowType, contextDescription); continue;