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 deprecatedIPasswordSynchronizer
interface to the newly introducedPasswordStore
interface.
-
-
Constructor Summary
Constructors Constructor Description PasswordStoreAdapter(IPasswordSynchronizer store)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
initialize(java.lang.Object aObj)
This method initializes the password store.boolean
isAvailable(PasswordChange change)
This method check the password store availability,boolean
setExtendedData(PasswordChange change)
This method sends additional information about a user.boolean
store(PasswordChange change)
This method stores password change in the password store.void
terminate()
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:
isAvailable
in interfacePasswordStore
- Parameters:
change
- object describing the password change- Returns:
true
if password store is available;false
otherwise
-
store
public boolean store(PasswordChange change)
This method stores password change in the password store.- Specified by:
store
in interfacePasswordStore
- Parameters:
change
- object describing the password change- Returns:
true
if the operation is successful;false
otherwise
-
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:
setExtendedData
in interfacePasswordStore
- Parameters:
change
- object describing the password change- Returns:
true
if the operation is successful;false
otherwise
-
initialize
public void initialize(java.lang.Object aObj) throws java.lang.Exception
This method initializes the password store.- Specified by:
initialize
in interfacePasswordStore
- Parameters:
aObj
- object of typePWSyncLog
used for logging- Throws:
java.lang.Exception
-
terminate
public void terminate()
This method cleans any reserved resources such as files, connections etc.- Specified by:
terminate
in interfacePasswordStore
-
-