|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.di.connector.Connector
com.ibm.di.connector.NT4UserMetaDataConnector.NT4UserMetaDataConnector
public class NT4UserMetaDataConnector
This class represents a Connector for managing Windows User and Group accounts.
Field Summary | |
---|---|
static int |
MAX_PAGE_SIZE
Active Directory maximup "page size" for the "NetQueryDisplayInformation" |
static String |
PARAM_COMPUTER_NAME
Connector`s parameter name |
static String |
PARAM_ENTRY_TYPE
Connector`s parameter name |
static String |
PARAM_PAGE_SIZE
Connector`s parameter name |
static String |
PARAM_PASSWORD
Connector`s parameter name |
static String |
PARAM_USER_NAME
Connector`s parameter name |
static String |
PARAM_VALUE_ENTRY_GROUP
Value for the PARAM_ENTRY_TYPE connector's parameter |
static String |
PARAM_VALUE_ENTRY_USER
Value for the PARAM_ENTRY_TYPE connector's parameter |
Fields inherited from class com.ibm.di.connector.Connector |
---|
ALL_MODES, myLog, PROPERTY_MESSAGE, PROPERTY_READER, PROPERTY_WRITER |
Constructor Summary | |
---|---|
NT4UserMetaDataConnector()
Class constructor |
Method Summary | |
---|---|
void |
deleteEntry(Entry aEntry,
SearchCriteria aRscSearchCriteria)
Deletes given entry (user or group) from Windows security database. |
Entry |
findEntry(SearchCriteria aRscSearchCriteria)
Retrieves a single entry object matching the given search criteria parameter. |
Entry |
getNextEntry()
Retrieves the next entry from the connector's containers. |
String |
getVersion()
Version information. |
void |
initialize(Object aObj)
Reads connector parameters' values. |
void |
modEntry(Entry aEntry,
SearchCriteria aRscSearchCriteria)
Modifies in Windows database the entry identified by the aRscSearchCriteria parameter with the data given in the aEntry parameter. |
void |
putEntry(Entry aEntry)
Inserts given entry (user or group) into Windows security database. |
Object |
querySchema(Object aObj)
Retrieves connector entry's structure. |
void |
selectEntries()
Reads all entries from Windows security database in a connector's container. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.ibm.di.connector.ConnectorInterface |
---|
getConfiguration, getContext, getFindEntryCount, getFirstFindEntry, getMaxDuplicateEntries, getName, getNextClient, getNextFindEntry, getParam, getPushbackEntry, getRawConnectorConfiguration, isDeltaSupported, isExceptionFatal, isIOException, modEntry, pushback, queryOperations, queryReply, reconnect, registerScriptBeans, replyEntry, setConfiguration, setContext, setCurrent, setLog, setMaxDuplicateEntries, setName, setParam, setRSInterface, terminate, terminateServer |
Field Detail |
---|
public static final String PARAM_COMPUTER_NAME
public static final String PARAM_USER_NAME
public static final String PARAM_PASSWORD
public static final String PARAM_ENTRY_TYPE
public static final String PARAM_PAGE_SIZE
public static final String PARAM_VALUE_ENTRY_USER
public static final String PARAM_VALUE_ENTRY_GROUP
public static final int MAX_PAGE_SIZE
Constructor Detail |
---|
public NT4UserMetaDataConnector()
Method Detail |
---|
public void initialize(Object aObj) throws NT4UserMetaDataException
initialize
in interface ConnectorInterface
initialize
in class Connector
aObj
- This parameter is usually null but can be any type of object
the caller chooses to passon. Normally the parameter is some
kind of input stream or Reader object.
NT4UserMetaDataException
- If bad parameter values are given.public void selectEntries() throws NT4UserMetaDataException
selectEntries
in interface ConnectorInterface
selectEntries
in class Connector
NT4UserMetaDataException
- If an error occurs while obtaining data from Windows
database.public Entry getNextEntry() throws NT4UserMetaDataException
getNextEntry
in interface ConnectorInterface
getNextEntry
in class Connector
NT4UserMetaDataException
- If an error occurs while obtaining data from Windows database
or the EntryType value is invalid.ConnectorInterface.selectEntries()
public Entry findEntry(SearchCriteria aRscSearchCriteria) throws NT4UserMetaDataException
findEntry
in interface ConnectorInterface
findEntry
in class Connector
aRscSearchCriteria
- The search criteria to locate the entry. Should contain just
one rscSearch element (holding the entry's account name value)
when operating with Users and two rscSearch elements (1st -
group's account name and 2nd - global/local indicator) when
operating with Groups.
NT4UserMetaDataException
- If an error occurs while obtaining data from Windows
database. If unsupported search criteria is given.public void putEntry(Entry aEntry) throws NT4UserMetaDataException
putEntry
in interface ConnectorInterface
putEntry
in class Connector
aEntry
- The Entry object to be inserted.
NT4UserMetaDataException
- If an error occurs while inserting data into Windows
database.public void modEntry(Entry aEntry, SearchCriteria aRscSearchCriteria) throws NT4UserMetaDataException
modEntry
in interface ConnectorInterface
modEntry
in class Connector
aEntry
- Entry object containing the new data.aRscSearchCriteria
- The search criteria used by the assembly line to locate this
entry.
NT4UserMetaDataException
- If an error occurs while modifying data into Windows
database.public void deleteEntry(Entry aEntry, SearchCriteria aRscSearchCriteria) throws NT4UserMetaDataException
deleteEntry
in interface ConnectorInterface
deleteEntry
in class Connector
aEntry
- The entry object to be deleted.aRscSearchCriteria
- The search criteria used by the assembly line to locate this
entry.
NT4UserMetaDataException
- If an error occured while deleting data from Windows
database.public Object querySchema(Object aObj) throws NT4UserMetaDataException
querySchema
in interface ConnectorInterface
querySchema
in class Connector
aObj
- Object
NT4UserMetaDataException
- If the value of the private member mEntryType is invalid.Entry
,
Vector
public String getVersion()
getVersion
in interface VersionInfoInterface
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |