Class InboundMatcher
java.lang.Object
org.apache.syncope.core.provisioning.java.pushpull.InboundMatcher
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final AnyObjectDAO
protected final AnySearchDAO
protected final AnyUtilsFactory
protected final GroupDAO
protected final ImplementationDAO
protected final IntAttrNameParser
protected static final Logger
protected final Map
<String, InboundCorrelationRule> protected final RealmDAO
protected final RealmSearchDAO
protected final UserDAO
-
Constructor Summary
ConstructorsConstructorDescriptionInboundMatcher
(UserDAO userDAO, AnyObjectDAO anyObjectDAO, GroupDAO groupDAO, AnySearchDAO anySearchDAO, RealmDAO realmDAO, RealmSearchDAO realmSearchDAO, ImplementationDAO implementationDAO, IntAttrNameParser intAttrNameParser, AnyUtilsFactory anyUtilsFactory) -
Method Summary
Modifier and TypeMethodDescriptionprotected List
<Implementation> getTransformers
(Item item) match
(AnyType anyType, String connObjectLinkValue, ExternalResource resource, Connector connector) match
(LiveSyncDelta syncDelta, OrgUnit orgUnit) Finds internal realms based on external attributes and mapping.match
(SyncDelta syncDelta, ExternalResource resource, Provision provision, AnyTypeKind anyTypeKind) Finds internal entities based on external attributes and mapping.matchByConnObjectKeyValue
(Item connObjectKeyItem, String connObjectKeyValue, AnyTypeKind anyTypeKind, ExternalResource resource, boolean ignoreCaseMatch) protected List
<InboundMatch> matchByCorrelationRule
(SyncDelta syncDelta, Provision provision, InboundCorrelationRule rule, AnyTypeKind type) protected Optional
<InboundCorrelationRule> rule
(ExternalResource resource, Provision provision)
-
Field Details
-
LOG
-
userDAO
-
anyObjectDAO
-
groupDAO
-
anySearchDAO
-
realmDAO
-
realmSearchDAO
-
implementationDAO
-
intAttrNameParser
-
anyUtilsFactory
-
perContextInboundCorrelationRules
-
-
Constructor Details
-
InboundMatcher
public InboundMatcher(UserDAO userDAO, AnyObjectDAO anyObjectDAO, GroupDAO groupDAO, AnySearchDAO anySearchDAO, RealmDAO realmDAO, RealmSearchDAO realmSearchDAO, ImplementationDAO implementationDAO, IntAttrNameParser intAttrNameParser, AnyUtilsFactory anyUtilsFactory)
-
-
Method Details
-
match
public Optional<InboundMatch> match(AnyType anyType, String connObjectLinkValue, ExternalResource resource, Connector connector) -
getTransformers
-
matchByConnObjectKeyValue
public List<InboundMatch> matchByConnObjectKeyValue(Item connObjectKeyItem, String connObjectKeyValue, AnyTypeKind anyTypeKind, ExternalResource resource, boolean ignoreCaseMatch) -
matchByCorrelationRule
protected List<InboundMatch> matchByCorrelationRule(SyncDelta syncDelta, Provision provision, InboundCorrelationRule rule, AnyTypeKind type) -
rule
-
match
public List<InboundMatch> match(SyncDelta syncDelta, ExternalResource resource, Provision provision, AnyTypeKind anyTypeKind) Finds internal entities based on external attributes and mapping.- Parameters:
syncDelta
- change operation, including external attributesresource
- external resourceprovision
- mappinganyTypeKind
- type kind- Returns:
- list of matching users' / groups' / any objects' keys
-
match
Finds internal realms based on external attributes and mapping.- Parameters:
syncDelta
- change operation, including external attributesorgUnit
- mapping- Returns:
- list of matching realms' keys.
-