|
||||||||||
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.tam.TAMConnector
public class TAMConnector
The TAM Connector.
The connector enables external applications, using TDI, to access IBM Tivoli
Access Manager (TAM) It supports the following TDI ConnectorModes:
Iterator AddOnly Update Delete Lookup
The connector supports design time schema query via querySchema(java.lang.Object)
.
The configuration parameters of the connector are described below. TAM ID
TAM Administrative ID.
TAM Password
Password for TAM Administrative logon ID.
Domain
The TAM Domain.
TAM Program Name
TAM Program Name specified in the SvrSslCfg configuration utility.
�TAM Configuration File
TAM Configuration File created by the SvrSslCfg configuration utility.
Entry Type
Specifies the object type to work with. The supported types are: User
Group Policy SSO Credential SSO Resource
SSO Resource Group
Import Users or Groups from Registry
If checked, Users or Groups will be imported from the registry.
Import Users or Groups from Registry
If checked, Users or Groups/Domains will be imported from the registry.
Field Summary | |
---|---|
static java.lang.String |
COMPONENT_NAME
|
static java.lang.String |
DEFAULT_DOMAIN
|
static java.lang.String |
PARAM_CONFIG_URL
|
static java.lang.String |
PARAM_DELETE_REG
|
static java.lang.String |
PARAM_DOMAIN
|
static java.lang.String |
PARAM_ENTRY_TYPE
|
static java.lang.String |
PARAM_FILTER
|
static java.lang.String |
PARAM_IMPORT_CREATE
|
static java.lang.String |
PARAM_PASSWORD
|
static java.lang.String |
PARAM_PROG_NAME
|
static java.lang.String |
PARAM_USER_NAME
|
Fields inherited from class com.ibm.di.connector.Connector |
---|
ALL_MODES, myLog, PROPERTY_MESSAGE, PROPERTY_READER, PROPERTY_WRITER |
Constructor Summary | |
---|---|
TAMConnector()
Default Constructor |
Method Summary | |
---|---|
void |
deleteEntry(Entry entry,
SearchCriteria searchcriteria)
The old Entry is now redundant so shoehorn the original deleteEntry into the new code which just uses searchcriteria with no loss of functionality. |
void |
deleteEntry(SearchCriteria searchcriteria)
Deletes the entry determined by the SearchCriteria if it exists |
Entry |
findEntry(SearchCriteria searchcriteria)
Using the provided search criteria and based on the configured Entry Type, attempts to find the object in TAM. |
Entry |
getNextEntry()
Using the list of the configured Entry Type, returns the next available entry on the list. |
java.lang.String |
getVersion()
Returns current version of the Connector. |
void |
initialize(java.lang.Object arg0)
This method is called once to initialize all the required internal members. |
void |
modEntry(Entry changes,
SearchCriteria searchcriteria)
Using the provided changes and based on the configured Entry Type, attempts to modify the specified object in TAM. |
void |
modEntry(Entry changes,
SearchCriteria searchcriteria,
Entry old)
The old Entry is now redundant so shoehorn the original modEntry into the new code which just uses searchcriteria with no loss of functionality. |
void |
putEntry(Entry entry)
Using the provided entry and based on the configured Entry Type, attempts to create the specified object in TAM. |
java.lang.Object |
querySchema(java.lang.Object obj)
Based on the configured Entry Type returns a list of TDI entries that define the schema for attribute mapping. |
java.util.Vector |
queryTAMDomains()
Used to query TAM for the set of configured Domains. |
void |
selectEntries()
Prepares a list of the required Entry Type to iterate over. |
void |
setImportReg(boolean importReg)
Available for use by TDI Assembly Line. |
void |
terminate()
Shuts down the Connection to the TAM Server using PDAdmin.shutdown(). |
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, pushback, queryOperations, queryReply, reconnect, registerScriptBeans, replyEntry, setConfiguration, setContext, setCurrent, setLog, setMaxDuplicateEntries, setName, setParam, setRSInterface, terminateServer |
Field Detail |
---|
public static final java.lang.String COMPONENT_NAME
public static final java.lang.String PARAM_PROG_NAME
public static final java.lang.String PARAM_DOMAIN
public static final java.lang.String PARAM_USER_NAME
public static final java.lang.String PARAM_PASSWORD
public static final java.lang.String PARAM_ENTRY_TYPE
public static final java.lang.String PARAM_FILTER
public static final java.lang.String PARAM_CONFIG_URL
public static final java.lang.String PARAM_IMPORT_CREATE
public static final java.lang.String PARAM_DELETE_REG
public static final java.lang.String DEFAULT_DOMAIN
Constructor Detail |
---|
public TAMConnector()
Method Detail |
---|
public void initialize(java.lang.Object arg0) throws TAMConnectorException
initialize
in interface ConnectorInterface
initialize
in class Connector
arg0
- TDI config object. Not used.
TAMConnectorException
- When an unrecoverable error occurs.public void setImportReg(boolean importReg)
importReg
- true for IMPORT, false for CREATEpublic void terminate() throws java.lang.Exception
terminate
in interface ConnectorInterface
terminate
in class Connector
java.lang.Exception
- When an unrecoverable error occurs.public void selectEntries() throws TAMConnectorException
selectEntries
in interface ConnectorInterface
selectEntries
in class Connector
TAMConnectorException
- When an unrecoverable error occurs.public Entry getNextEntry() throws TAMConnectorException
getNextEntry
in interface ConnectorInterface
getNextEntry
in class Connector
TAMConnectorException
- When an unrecoverable error occurs.ConnectorInterface.selectEntries()
public Entry findEntry(SearchCriteria searchcriteria) throws TAMConnectorException
findEntry
in interface ConnectorInterface
findEntry
in class Connector
searchcriteria
- -
Provides details of the attribute to search with and the
search operand.
TAMConnectorException
- When an unrecoverable error occurs.public void putEntry(Entry entry) throws TAMConnectorException
putEntry
in interface ConnectorInterface
putEntry
in class Connector
entry
- -
A TDI Entry containing the attributes and values to use when
creating the required object, of the required Entry Type in
TAM.
TAMConnectorException
- When an unrecoverable error occurs.public void modEntry(Entry changes, SearchCriteria searchcriteria, Entry old) throws TAMConnectorException
modEntry
in interface ConnectorInterface
modEntry
in class Connector
changes
- The entry datasearchcriteria
- The search criteria used to locate the entry to be modifiedold
- The old entry found by the search criteria
TAMConnectorException
public void modEntry(Entry changes, SearchCriteria searchcriteria) throws TAMConnectorException
modEntry
in interface ConnectorInterface
modEntry
in class Connector
changes
- -
A TDI Entry containing the attributes and values to use when
modifying the required object, of the required Entry Type in
TAM.searchcriteria
- -
TAMConnectorException
- When an unrecoverable error occurs.public void deleteEntry(Entry entry, SearchCriteria searchcriteria) throws TAMConnectorException
deleteEntry
in interface ConnectorInterface
deleteEntry
in class Connector
entry
- The entry datasearchcriteria
- The search criteria used to locate the entry to be deleted
TAMConnectorException
public void deleteEntry(SearchCriteria searchcriteria) throws TAMConnectorException
searchcriteria
- -
Used to provide the unique key to access the PDObject
TAMConnectorException
- When an unrecoverable error occurs.public java.lang.Object querySchema(java.lang.Object obj) throws TAMConnectorException
querySchema
in interface ConnectorInterface
querySchema
in class Connector
obj
- -
Not used.
TAMConnectorException
- When an unrecoverable error occurs.Entry
,
Vector
public java.lang.String getVersion()
getVersion
in interface VersionInfoInterface
public java.util.Vector queryTAMDomains() throws TAMConnectorException
TAMConnectorException
- When an unrecoverable error occurs.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |