Package com.ibm.di.plugin.pwstore
Class PasswordStoreAdapter
- java.lang.Object
-
- com.ibm.di.plugin.pwstore.PasswordStoreAdapter
-
- All Implemented Interfaces:
PasswordStore
public class PasswordStoreAdapter extends java.lang.Object implements PasswordStore
This class adapts implementations of the deprecatedIPasswordSynchronizerinterface to the newly introducedPasswordStoreinterface.
-
-
Constructor Summary
Constructors Constructor Description PasswordStoreAdapter(IPasswordSynchronizer store)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidinitialize(java.lang.Object aObj)This method initializes the password store.booleanisAvailable(PasswordChange change)This method check the password store availability,booleansetExtendedData(PasswordChange change)This method sends additional information about a user.booleanstore(PasswordChange change)This method stores password change in the password store.voidterminate()This method cleans any reserved resources such as files, connections etc.
-
-
-
Constructor Detail
-
PasswordStoreAdapter
public PasswordStoreAdapter(IPasswordSynchronizer store)
-
-
Method Detail
-
isAvailable
public boolean isAvailable(PasswordChange change)
This method check the password store availability,- Specified by:
isAvailablein interfacePasswordStore- Parameters:
change- object describing the password change- Returns:
trueif password store is available;falseotherwise
-
store
public boolean store(PasswordChange change)
This method stores password change in the password store.- Specified by:
storein interfacePasswordStore- Parameters:
change- object describing the password change- Returns:
trueif the operation is successful;falseotherwise
-
setExtendedData
public boolean setExtendedData(PasswordChange change)
This method sends additional information about a user.Currently only the Windows Password Synchronizer plug-in sends extended data.
- Specified by:
setExtendedDatain interfacePasswordStore- Parameters:
change- object describing the password change- Returns:
trueif the operation is successful;falseotherwise
-
initialize
public void initialize(java.lang.Object aObj) throws java.lang.ExceptionThis method initializes the password store.- Specified by:
initializein interfacePasswordStore- Parameters:
aObj- object of typePWSyncLogused for logging- Throws:
java.lang.Exception
-
terminate
public void terminate()
This method cleans any reserved resources such as files, connections etc.- Specified by:
terminatein interfacePasswordStore
-
-