Class InboundMatcher
- java.lang.Object
-
- org.apache.syncope.core.provisioning.java.pushpull.InboundMatcher
-
@Transactional(readOnly=true) public class InboundMatcher extends Object
-
-
Field Summary
Fields Modifier and Type Field Description protected AnyObjectDAOanyObjectDAOprotected AnySearchDAOanySearchDAOprotected AnyUtilsFactoryanyUtilsFactoryprotected GroupDAOgroupDAOprotected ImplementationDAOimplementationDAOprotected IntAttrNameParserintAttrNameParserprotected static LoggerLOGprotected Map<String,PullCorrelationRule>perContextPullCorrelationRulesprotected RealmDAOrealmDAOprotected UserDAOuserDAOprotected VirAttrHandlervirAttrHandlerprotected VirSchemaDAOvirSchemaDAO
-
Constructor Summary
Constructors Constructor Description InboundMatcher(UserDAO userDAO, AnyObjectDAO anyObjectDAO, GroupDAO groupDAO, AnySearchDAO anySearchDAO, RealmDAO realmDAO, VirSchemaDAO virSchemaDAO, ImplementationDAO implementationDAO, VirAttrHandler virAttrHandler, IntAttrNameParser intAttrNameParser, AnyUtilsFactory anyUtilsFactory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected List<Implementation>getTransformers(Item item)Optional<PullMatch>match(AnyType anyType, String nameValue, ExternalResource resource, Connector connector)List<Realm>match(SyncDelta syncDelta, OrgUnit orgUnit)Finds internal realms based on external attributes and mapping.List<PullMatch>match(SyncDelta syncDelta, ExternalResource resource, Provision provision, AnyTypeKind anyTypeKind)Finds internal entities based on external attributes and mapping.List<PullMatch>matchByConnObjectKeyValue(Item connObjectKeyItem, String connObjectKeyValue, AnyTypeKind anyTypeKind, boolean ignoreCaseMatch, ExternalResource resource)protected List<PullMatch>matchByCorrelationRule(SyncDelta syncDelta, Provision provision, PullCorrelationRule rule, AnyTypeKind type)protected Optional<PullCorrelationRule>rule(ExternalResource resource, Provision provision)
-
-
-
Field Detail
-
LOG
protected static final Logger LOG
-
userDAO
protected final UserDAO userDAO
-
anyObjectDAO
protected final AnyObjectDAO anyObjectDAO
-
groupDAO
protected final GroupDAO groupDAO
-
anySearchDAO
protected final AnySearchDAO anySearchDAO
-
realmDAO
protected final RealmDAO realmDAO
-
virSchemaDAO
protected final VirSchemaDAO virSchemaDAO
-
implementationDAO
protected final ImplementationDAO implementationDAO
-
virAttrHandler
protected final VirAttrHandler virAttrHandler
-
intAttrNameParser
protected final IntAttrNameParser intAttrNameParser
-
anyUtilsFactory
protected final AnyUtilsFactory anyUtilsFactory
-
perContextPullCorrelationRules
protected final Map<String,PullCorrelationRule> perContextPullCorrelationRules
-
-
Constructor Detail
-
InboundMatcher
public InboundMatcher(UserDAO userDAO, AnyObjectDAO anyObjectDAO, GroupDAO groupDAO, AnySearchDAO anySearchDAO, RealmDAO realmDAO, VirSchemaDAO virSchemaDAO, ImplementationDAO implementationDAO, VirAttrHandler virAttrHandler, IntAttrNameParser intAttrNameParser, AnyUtilsFactory anyUtilsFactory)
-
-
Method Detail
-
match
public Optional<PullMatch> match(AnyType anyType, String nameValue, ExternalResource resource, Connector connector)
-
getTransformers
protected List<Implementation> getTransformers(Item item)
-
matchByConnObjectKeyValue
public List<PullMatch> matchByConnObjectKeyValue(Item connObjectKeyItem, String connObjectKeyValue, AnyTypeKind anyTypeKind, boolean ignoreCaseMatch, ExternalResource resource)
-
matchByCorrelationRule
protected List<PullMatch> matchByCorrelationRule(SyncDelta syncDelta, Provision provision, PullCorrelationRule rule, AnyTypeKind type)
-
rule
protected Optional<PullCorrelationRule> rule(ExternalResource resource, Provision provision)
-
match
public List<PullMatch> 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
-
-