com.ibm.di.plugin.pwstore
Class PasswordStoreAdapter

java.lang.Object
  extended by 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 deprecated IPasswordSynchronizer interface to the newly introduced PasswordStore interface.


Constructor Summary
PasswordStoreAdapter(IPasswordSynchronizer store)
           
 
Method Summary
 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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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 interface PasswordStore
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 interface PasswordStore
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 interface PasswordStore
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 interface PasswordStore
Parameters:
aObj - object of type PWSyncLog 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 interface PasswordStore