|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.di.plugin.pwstore.ldap.IDIPasswordStore
public class IDIPasswordStore
IDIPasswordStore
is the class that provides function to access
LDAP servers for the purpose of updating a specified server with userid and
password information. A properties file is read in when the object is
constructed. Information in the properties file specifies the credentials for
access to the server as well as other tailorable configuration information.
This information includes location of keystore files for SSL access and
asymmetric encryption using RSA of the password data (see the
IDIPasswordCrypto class for decryption).
The SSL connection processing assumes that the client keystore file which
contains both client's certificate and servers signer certification.
A simple usage would be as follows: When
stowPassword(uid,userfullname,password) is invoked, the ibm-diPerson object
defined in the LDAP DIT is modified to have the specified password. If the
ibm-diPerson object for the specified uid does not exist, a new one is
created.
Constructor Summary | |
---|---|
IDIPasswordStore(PWSyncLog log)
Construct and initialize an IDIPasswordStore object. |
Method Summary | |
---|---|
boolean |
addPasswordValues(PasswordChange change)
This method adds the password values specified, for specified uid. |
boolean |
addPasswordValues(String uid,
Vector<String> newPasswords)
Deprecated. |
boolean |
deletePasswordValues(PasswordChange change)
deletePasswordValues: removes the password values specified, for specified ui The clear text password to be optionally encrypted (see properties file documentation) before LDAP server stores it, and a decryption method (see IDIPasswordCrypto class) is available for decrypting via an IDI assemblyline or other strategy. |
boolean |
deletePasswordValues(String uid,
Vector<String> newPasswords)
Deprecated. |
boolean |
modifyPassword(PasswordChange change)
stowPassword: Changes the password if the user id exists. |
boolean |
readyToSync()
readyToSync: attempt initctx to see if LDAP server is available |
boolean |
setExtendedData(PasswordChange change)
Write additional information about a user to the Password Store. |
boolean |
setExtendedData(String id,
String extendedData)
Deprecated. |
boolean |
stowPassword(String uid,
Vector<String> newPasswords)
Deprecated. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public IDIPasswordStore(PWSyncLog log) throws IOException
log
- the place to log in
IOException
- Thrown when attempting to load properties fileMethod Detail |
---|
public boolean addPasswordValues(PasswordChange change)
uid
- A String representing the stored uid, must have lenth > 0, eg.
bcampbell.newPasswords
- A vector representing stored, decoded passwords, vector must
have length > 0, null entries are not stored.
@Deprecated public boolean addPasswordValues(String uid, Vector<String> newPasswords)
public boolean deletePasswordValues(PasswordChange change)
uid
- A String representing the stored uid, must have lenth > 0, eg.
bcampbellnewPasswords
- A vector representing decoded passwords to be removed, must
have length > 0, null entries are not processed.
@Deprecated public boolean deletePasswordValues(String uid, Vector<String> newPasswords)
public boolean readyToSync()
public boolean modifyPassword(PasswordChange change)
uid
- A String representing the stored uid, must have lenth > 0, eg.
bcampbellnewPasswords
- A vector representing stored, decoded password, vector must
have length > 0, null entries will not be stored.
@Deprecated public boolean stowPassword(String uid, Vector<String> newPasswords)
public boolean setExtendedData(PasswordChange change)
id
- The user identifier.extendedData
- The information.
@Deprecated public boolean setExtendedData(String id, String extendedData)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |