Class DBPasswordPullActions
java.lang.Object
org.apache.syncope.core.provisioning.java.pushpull.DBPasswordPullActions
- All Implemented Interfaces:
InboundActions,ProvisioningActions
A
InboundActions implementation which allows the ability to
import passwords from a Database backend, where the passwords are hashed according to the password cipher algorithm
property of the (DB) Connector and HEX-encoded.-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected CipherAlgorithmprotected static final Stringprotected Stringprotected static final Loggerprotected UserDAO -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidafter(ProvisioningProfile<?, ?> profile, LiveSyncDelta delta, EntityTO any, ProvisioningReport result) Action to be executed after each local entity inbound.voidbeforeProvision(ProvisioningProfile<?, ?> profile, LiveSyncDelta delta, AnyCR anyCR) Action to be executed before to create a inbounded entity locally.voidbeforeUpdate(ProvisioningProfile<?, ?> profile, LiveSyncDelta delta, EntityTO entityTO, AnyUR anyUR) Action to be executed before to update a inbounded entity locally.protected StringgetCipherAlgorithm(ConnInstance connInstance) protected voidparseEncodedPassword(String password, Connector connector) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.syncope.core.provisioning.api.pushpull.InboundActions
beforeAssign, beforeAssign, beforeAssign, beforeDelete, beforeDeprovision, beforeLink, beforeProvision, beforeProvision, beforeUnassign, beforeUnlink, moreAttrsToGet, moreAttrsToGet, onError, preprocessMethods inherited from interface org.apache.syncope.core.provisioning.api.pushpull.ProvisioningActions
afterAll, beforeAll
-
Field Details
-
LOG
-
CLEARTEXT
- See Also:
-
userDAO
-
encodedPassword
-
cipher
-
-
Constructor Details
-
DBPasswordPullActions
public DBPasswordPullActions()
-
-
Method Details
-
beforeProvision
@Transactional(readOnly=true) public void beforeProvision(ProvisioningProfile<?, ?> profile, LiveSyncDelta delta, AnyCR anyCR) Description copied from interface:InboundActionsAction to be executed before to create a inbounded entity locally. The entity is created locally upon inbound in case of the un-matching ruleUnmatchingRule.PROVISION(default un-matching rule) is applied.- Specified by:
beforeProvisionin interfaceInboundActions- Parameters:
profile- profile of the inbound being executed.delta- retrieved inbound informationanyCR- create request
-
beforeUpdate
@Transactional(readOnly=true) public void beforeUpdate(ProvisioningProfile<?, ?> profile, LiveSyncDelta delta, EntityTO entityTO, AnyUR anyUR) Description copied from interface:InboundActionsAction to be executed before to update a inbounded entity locally. The entity is updated upon inbound in case of the matching ruleMatchingRule.UPDATE(default matching rule) is applied.- Specified by:
beforeUpdatein interfaceInboundActions- Parameters:
profile- profile of the inbound being executed.delta- retrieved inbound informationentityTO- entityanyUR- modification
-
parseEncodedPassword
-
getCipherAlgorithm
-
after
@Transactional public void after(ProvisioningProfile<?, ?> profile, LiveSyncDelta delta, EntityTO any, ProvisioningReport result) Description copied from interface:InboundActionsAction to be executed after each local entity inbound.- Specified by:
afterin interfaceInboundActions- Parameters:
profile- profile of the inbound being executed.delta- retrieved inbound information (may be modified by beforeProvisionTO / beforeUpdate / beforeDelete)any- entityresult- global inbound results at the current inbound step
-