|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.di.plugin.idipwsync.IDIPasswordSynchronizer
public class IDIPasswordSynchronizer
A IDIPasswordSynchronizer
is the class that by use of a properties file
uses a zero-arg constructor to setup for connect to LDAP server optionally using ssl via
specification of a client keystore file which contains both client's certificate
and servers signer certification. When syncPassword(uid,userfullname,password) is invoked,
the userId in the LDAP DIT is modified to have the specified password.
If the userId doesn't exist and new one is created.
Constructor Summary | |
---|---|
IDIPasswordSynchronizer()
Creates and LDAPCHangePassword object and obtains connection to server. |
Method Summary | |
---|---|
static void |
main(String[] argv)
Use this main to test functionality. |
boolean |
syncPassword(String uid,
String userFullName,
String newPassword,
boolean setOperation)
Changes the password if the user id and password exists. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public IDIPasswordSynchronizer() throws IOException, IDIPasswordStoreMissingPropertyException
IOException
- Thrown when attempting to load properties file
IDIPasswordSynchronizerMissingPropertyException
- Thrown when attempting to load a required property
IDIPasswordStoreMissingPropertyException
Method Detail |
---|
public boolean syncPassword(String uid, String userFullName, String newPassword, boolean setOperation)
syncPassword
in interface com.ibm.bim.pwfilt.IPasswordSynchronizer
uid
- A String representing the stored uid, must have lenth > 0,
eg. bcampbelluserFullName
- A String representing the username as displayed
by Windows NT, eg. Bob CampbellnewPassword
- A String representing stored, decoded password, must
have length > 0, eg. secretsetOperation
- A boolean indicating whether password is being set or
modified (note: not relevent)
public static void main(String[] argv)
argv
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |