Class DBPasswordPullActions
- java.lang.Object
-
- org.apache.syncope.core.provisioning.java.pushpull.DBPasswordPullActions
-
- All Implemented Interfaces:
org.apache.syncope.core.provisioning.api.pushpull.ProvisioningActions
,org.apache.syncope.core.provisioning.api.pushpull.PullActions
public class DBPasswordPullActions extends Object implements org.apache.syncope.core.provisioning.api.pushpull.PullActions
APullActions
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
Fields Modifier and Type Field Description protected org.apache.syncope.common.lib.types.CipherAlgorithm
cipher
protected static String
CLEARTEXT
protected String
encodedPassword
protected static org.slf4j.Logger
LOG
protected org.apache.syncope.core.persistence.api.dao.UserDAO
userDAO
-
Constructor Summary
Constructors Constructor Description DBPasswordPullActions()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
after(org.apache.syncope.core.provisioning.api.pushpull.ProvisioningProfile<?,?> profile, org.identityconnectors.framework.common.objects.SyncDelta delta, org.apache.syncope.common.lib.to.EntityTO any, org.apache.syncope.common.lib.to.ProvisioningReport result)
void
beforeProvision(org.apache.syncope.core.provisioning.api.pushpull.ProvisioningProfile<?,?> profile, org.identityconnectors.framework.common.objects.SyncDelta delta, org.apache.syncope.common.lib.request.AnyCR anyCR)
void
beforeUpdate(org.apache.syncope.core.provisioning.api.pushpull.ProvisioningProfile<?,?> profile, org.identityconnectors.framework.common.objects.SyncDelta delta, org.apache.syncope.common.lib.to.EntityTO entityTO, org.apache.syncope.common.lib.request.AnyUR anyUR)
protected String
getCipherAlgorithm(org.apache.syncope.core.persistence.api.entity.ConnInstance connInstance)
protected void
parseEncodedPassword(String password, org.apache.syncope.core.provisioning.api.Connector connector)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
-
-
Field Detail
-
LOG
protected static final org.slf4j.Logger LOG
-
CLEARTEXT
protected static final String CLEARTEXT
- See Also:
- Constant Field Values
-
userDAO
@Autowired protected org.apache.syncope.core.persistence.api.dao.UserDAO userDAO
-
encodedPassword
protected String encodedPassword
-
cipher
protected org.apache.syncope.common.lib.types.CipherAlgorithm cipher
-
-
Method Detail
-
beforeProvision
@Transactional(readOnly=true) public void beforeProvision(org.apache.syncope.core.provisioning.api.pushpull.ProvisioningProfile<?,?> profile, org.identityconnectors.framework.common.objects.SyncDelta delta, org.apache.syncope.common.lib.request.AnyCR anyCR) throws org.quartz.JobExecutionException
- Specified by:
beforeProvision
in interfaceorg.apache.syncope.core.provisioning.api.pushpull.PullActions
- Throws:
org.quartz.JobExecutionException
-
beforeUpdate
@Transactional(readOnly=true) public void beforeUpdate(org.apache.syncope.core.provisioning.api.pushpull.ProvisioningProfile<?,?> profile, org.identityconnectors.framework.common.objects.SyncDelta delta, org.apache.syncope.common.lib.to.EntityTO entityTO, org.apache.syncope.common.lib.request.AnyUR anyUR) throws org.quartz.JobExecutionException
- Specified by:
beforeUpdate
in interfaceorg.apache.syncope.core.provisioning.api.pushpull.PullActions
- Throws:
org.quartz.JobExecutionException
-
parseEncodedPassword
protected void parseEncodedPassword(String password, org.apache.syncope.core.provisioning.api.Connector connector)
-
getCipherAlgorithm
protected String getCipherAlgorithm(org.apache.syncope.core.persistence.api.entity.ConnInstance connInstance)
-
after
@Transactional public void after(org.apache.syncope.core.provisioning.api.pushpull.ProvisioningProfile<?,?> profile, org.identityconnectors.framework.common.objects.SyncDelta delta, org.apache.syncope.common.lib.to.EntityTO any, org.apache.syncope.common.lib.to.ProvisioningReport result) throws org.quartz.JobExecutionException
- Specified by:
after
in interfaceorg.apache.syncope.core.provisioning.api.pushpull.PullActions
- Throws:
org.quartz.JobExecutionException
-
-