Class InboundMatcher
java.lang.Object
org.apache.syncope.core.provisioning.java.pushpull.InboundMatcher
-
Field Summary
Modifier 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
protected final VirAttrHandler
protected final VirSchemaDAO
-
Constructor Summary
ConstructorDescriptionInboundMatcher
(UserDAO userDAO, AnyObjectDAO anyObjectDAO, GroupDAO groupDAO, AnySearchDAO anySearchDAO, RealmDAO realmDAO, RealmSearchDAO realmSearchDAO, VirSchemaDAO virSchemaDAO, ImplementationDAO implementationDAO, VirAttrHandler virAttrHandler, IntAttrNameParser intAttrNameParser, AnyUtilsFactory anyUtilsFactory) -
Method Summary
Modifier and TypeMethodDescriptionprotected List
<Implementation> getTransformers
(Item item) match
(AnyType anyType, String nameValue, 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, boolean ignoreCaseMatch, ExternalResource resource) 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
-
virSchemaDAO
-
implementationDAO
-
virAttrHandler
-
intAttrNameParser
-
anyUtilsFactory
-
perContextInboundCorrelationRules
-
-
Constructor Details
-
InboundMatcher
public InboundMatcher(UserDAO userDAO, AnyObjectDAO anyObjectDAO, GroupDAO groupDAO, AnySearchDAO anySearchDAO, RealmDAO realmDAO, RealmSearchDAO realmSearchDAO, VirSchemaDAO virSchemaDAO, ImplementationDAO implementationDAO, VirAttrHandler virAttrHandler, IntAttrNameParser intAttrNameParser, AnyUtilsFactory anyUtilsFactory)
-
-
Method Details
-
match
public Optional<InboundMatch> match(AnyType anyType, String nameValue, ExternalResource resource, Connector connector) -
getTransformers
-
matchByConnObjectKeyValue
public List<InboundMatch> matchByConnObjectKeyValue(Item connObjectKeyItem, String connObjectKeyValue, AnyTypeKind anyTypeKind, boolean ignoreCaseMatch, ExternalResource resource) -
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.
-