|
||||||||||
| 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
|
static String |
PARAM_COMPUTER_NAME
|
static String |
PARAM_ENTRY_TYPE
|
static String |
PARAM_PAGE_SIZE
|
static String |
PARAM_PASSWORD
|
static String |
PARAM_USER_NAME
|
static String |
PARAM_VALUE_ENTRY_GROUP
|
static String |
PARAM_VALUE_ENTRY_USER
|
| Fields inherited from class com.ibm.di.connector.Connector |
|---|
ALL_MODES, myLog, PROPERTY_MESSAGE, PROPERTY_READER, PROPERTY_WRITER |
| Constructor Summary | |
|---|---|
NT4UserMetaDataConnector()
|
|
| 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()
Returns 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 conntector 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 ConnectorInterfaceinitialize in class ConnectoraObj - 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 ConnectorInterfaceselectEntries in class ConnectorNT4UserMetaDataException - If an error occured while obtaining
data from Windows database.
public Entry getNextEntry()
throws NT4UserMetaDataException
getNextEntry in interface ConnectorInterfacegetNextEntry in class ConnectorNT4UserMetaDataException - If an error occured
while obtaining data from Windows database
or the EntryType value is invalid.Connector.selectEntries()
public Entry findEntry(SearchCriteria aRscSearchCriteria)
throws NT4UserMetaDataException
findEntry in interface ConnectorInterfacefindEntry in class ConnectoraRscSearchCriteria - The search ctriteria 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 occured while obtaining data from
Windows database. If unsupported search criteria is given.
public void putEntry(Entry aEntry)
throws NT4UserMetaDataException
putEntry in interface ConnectorInterfaceputEntry in class ConnectoraEntry - The Entry object to be inserted.
NT4UserMetaDataException - If an error occured while inserting data into
Windows database.
public void modEntry(Entry aEntry,
SearchCriteria aRscSearchCriteria)
throws NT4UserMetaDataException
modEntry in interface ConnectorInterfacemodEntry in class ConnectoraEntry - Entry object containing the new data.aRscSearchCriteria - The search criteria used by the assembly line to locate
this entry.
NT4UserMetaDataException - If an error occured while modifying data into
Windows database.
public void deleteEntry(Entry aEntry,
SearchCriteria aRscSearchCriteria)
throws NT4UserMetaDataException
deleteEntry in interface ConnectorInterfacedeleteEntry in class ConnectoraEntry - 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 ConnectorInterfacequerySchema in class ConnectoraObj - The object on which to discover schema. This may be an Entry or a string value
NT4UserMetaDataException - If the value of the private member
mEntryType is invalid.Entry,
Vectorpublic String getVersion()
getVersion in interface VersionInfoInterface
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||