|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.waveset.adapter.ResourceAdapterBase
com.waveset.adapter.AgentResourceAdapter
com.waveset.adapter.ADSIResourceAdapter
Nested Class Summary | |
static class |
ADSIResourceAdapter.UpdateRowComparator
Internal class that implenents the Comparator interface for sorting the UpdateRow elements in a list by a named attribute |
Nested classes inherited from class com.waveset.adapter.AgentResourceAdapter |
AgentResourceAdapter.AcctIter, AgentResourceAdapter.AgentAccountSupplier, AgentResourceAdapter.BlockAcctIter, AgentResourceAdapter.BlockObjectIterator |
Nested classes inherited from class com.waveset.adapter.ResourceAdapterBase |
ResourceAdapterBase.SimpleAccountIterator |
Nested classes inherited from class com.waveset.adapter.ResourceAdapter |
ResourceAdapter.ActionResult, ResourceAdapter.Features, ResourceAdapter.ObjectType |
Field Summary | |
static java.lang.String |
ADSI_ATTR_USNCHANGED
|
static java.lang.String |
ADSI_SEARCH_FILTER_KEY
Map parameters to change the account iterator - scope ("BASE", "ONELEVEL", "SUBTREE"); - pageSize (the number of records to fetch per block) - tombstone (return deleted records in the result) |
static java.lang.String |
ADSI_SEARCH_GLOBAL_CATALOG
|
static java.lang.String |
ADSI_SEARCH_PAGESIZE
|
static java.lang.String |
ADSI_SEARCH_SCOPE
|
static java.lang.String |
ADSI_SEARCH_SORT_KEY
|
static java.lang.String |
ADSI_SEARCH_TOMBSTONE
|
static java.lang.String |
ATTR_GUID
|
static java.lang.String |
ATTR_USN_CHANGED
|
static java.lang.String |
code_id
|
static java.lang.String |
RA_ADSI_PAGESIZE
|
static java.lang.String |
RA_CONTAINER
|
static java.lang.String |
RA_CREATE_HOME_DIR
|
static java.lang.String |
RA_ENCRYPTION_TYPE
|
static java.lang.String |
RA_GLOBAL_CATALOG_SERVER
|
static java.lang.String |
RA_LDAP_HOSTNAME
|
static java.lang.String |
RA_OBJECT_CATEGORY
|
static java.lang.String |
RA_PASSWORD
|
static java.lang.String |
RA_RESET_TO_TODAY
|
static java.lang.String |
RA_SEARCH_SUBDOMAINS
|
static java.lang.String |
RA_SYNC_ON_ERROR_PROCESS
|
static java.lang.String |
RA_UPDATE_IF_DELETE
Deprecated. As of IdM 5.5. Use RA_DELETE_RULE instead. |
static java.lang.String |
RA_UPDATE_SEARCH_FILTER
|
static java.lang.String |
RA_USER
|
static java.lang.String |
RA_USER_PWD_ON_CHG
|
Fields inherited from class com.waveset.adapter.AgentResourceAdapter |
_connection, ATTR_ACTION, CONNECTED_TO_RESOURCE, RA_AUTHTIMEOUT, RA_CONN, RA_HANGTIMEOUT, RA_HOST, RA_OBJCLASS, RA_PORT, SUPPORTS_ENCRYPTED_TYPE, USER_CLASS |
Fields inherited from class com.waveset.adapter.ResourceAdapterBase |
_cache, _context, _excludedAccountsRule, _excludedAccountsRuleInited, _listAllObjectsAttrParse, _listAllObjectsAttrParseName, _listUserAttrParse, _listUserAttrParseName, _listUserGroupsAttrParse, _listUserGroupsAttrParseName, _resource, _thread, _trace, displayInfoCode, RA_BLOCKCOUNT, RA_LOGIN_ACTION, RA_LOGOFF_ACTION, RA_MULTI_VALUED_ATTRS, RA_TEST_MODE |
Constructor Summary | |
ADSIResourceAdapter()
|
|
ADSIResourceAdapter(Resource res,
ObjectCache cache)
|
Method Summary | |
protected com.waveset.adapter.iapi.IAPI |
buildEvent(com.waveset.adapter.ADSIResourceAdapter.UpdateRow row)
Deprecated. As of IdM 5.5. |
void |
callCompleted(com.waveset.adapter.iapi.IAPI call)
An call generated by this resource adapter has completed. |
Resource |
createPrototypeResource()
|
AccountIterator |
getAccountIterator()
Default implementation just gets all the users and holds them in an array. |
AccountIterator |
getAccountIterator(java.util.Map params)
Alternate interface to pass in a map of name/value pairs to control the search. |
java.lang.Object |
getAttributeValue(java.lang.String name)
Get or set an attribute value for the ActiveSync. |
java.lang.String |
getBaseContextAttrName()
Returns the name, if any, of the attribute used by the resource as the base context or the context to which all operations is bound |
GenericObject |
getFeatures()
Expose features supported by the Resource Adapter. |
protected java.lang.String |
getLoginAttrName(java.lang.String key)
Get the attribute name to use for the login info key that is passed in. |
void |
init()
initialize yourself. |
java.util.List |
listObjects(java.lang.String objectType,
java.util.Map options)
Returns a list of objects matching the requested objectType and options |
protected void |
logUpdate(int level,
com.waveset.adapter.ADSIResourceAdapter.UpdateRow update,
WavesetResult result)
Log whatever we want to from an update. |
boolean |
namesEqual(java.lang.String name1,
java.lang.String name2)
This method will return true if name1 equals name2. |
int |
poll()
the poll method. |
protected void |
processUpdates(java.util.List list,
com.waveset.adapter.iapi.IAPI prox)
Take a list of Maps that are rows of the audit data and turn them into IAPI calls. |
void |
setAttributeValue(java.lang.String name,
java.lang.Object value)
|
void |
shutdown()
shutdown |
static Resource |
staticCreatePrototypeResource()
|
boolean |
supportsAccountDisable()
Return true if this resource supports some form of native account disable. |
boolean |
supportsActions()
Whether the resource will support Before/After actions. |
boolean |
supportsExcludedAccounts()
|
boolean |
supportsScanning()
|
WavesetResult |
testConfiguration()
Test method. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final java.lang.String code_id
public static final java.lang.String RA_USER
public static final java.lang.String RA_PASSWORD
public static final java.lang.String RA_CONTAINER
public static final java.lang.String RA_USER_PWD_ON_CHG
public static final java.lang.String RA_LDAP_HOSTNAME
public static final java.lang.String RA_CREATE_HOME_DIR
public static final java.lang.String RA_ADSI_PAGESIZE
public static final java.lang.String RA_OBJECT_CATEGORY
public static final java.lang.String RA_SYNC_ON_ERROR_PROCESS
public static final java.lang.String RA_ENCRYPTION_TYPE
public static final java.lang.String RA_SEARCH_SUBDOMAINS
public static final java.lang.String ADSI_ATTR_USNCHANGED
public static final java.lang.String ADSI_SEARCH_FILTER_KEY
public static final java.lang.String ADSI_SEARCH_SCOPE
public static final java.lang.String ADSI_SEARCH_PAGESIZE
public static final java.lang.String ADSI_SEARCH_TOMBSTONE
public static final java.lang.String ADSI_SEARCH_SORT_KEY
public static final java.lang.String ADSI_SEARCH_GLOBAL_CATALOG
public static final java.lang.String RA_RESET_TO_TODAY
public static final java.lang.String RA_UPDATE_IF_DELETE
public static final java.lang.String RA_UPDATE_SEARCH_FILTER
public static final java.lang.String RA_GLOBAL_CATALOG_SERVER
public static final java.lang.String ATTR_USN_CHANGED
public static final java.lang.String ATTR_GUID
Constructor Detail |
public ADSIResourceAdapter(Resource res, ObjectCache cache)
public ADSIResourceAdapter()
Method Detail |
public static Resource staticCreatePrototypeResource() throws WavesetException
WavesetException
public Resource createPrototypeResource() throws WavesetException
createPrototypeResource
in interface ResourceAdapter
createPrototypeResource
in class AgentResourceAdapter
WavesetException
protected java.lang.String getLoginAttrName(java.lang.String key)
getLoginAttrName
in class AgentResourceAdapter
public boolean supportsActions()
supportsActions
in interface ResourceAdapter
supportsActions
in class ResourceAdapterBase
public boolean supportsAccountDisable()
supportsAccountDisable
in interface ResourceAdapter
supportsAccountDisable
in class ResourceAdapterBase
public boolean supportsScanning()
supportsScanning
in interface ResourceAdapter
supportsScanning
in class ResourceAdapterBase
public boolean supportsExcludedAccounts()
supportsExcludedAccounts
in interface ResourceAdapter
supportsExcludedAccounts
in class ResourceAdapterBase
public java.lang.String getBaseContextAttrName() throws WavesetException
getBaseContextAttrName
in interface ResourceAdapter
getBaseContextAttrName
in class ResourceAdapterBase
WavesetException
public GenericObject getFeatures()
getFeatures
in interface ResourceAdapter
getFeatures
in class AgentResourceAdapter
ResourceAdapter.Features
public boolean namesEqual(java.lang.String name1, java.lang.String name2)
We will normalize the names before checking for equality. Normalization will be done using an implementation of RFC2253 which specifies the standard for the string representation of distinguished names handling issue such as capitalization, component ordering, special characters, internationalized characters, trimming spaces, etc.
namesEqual
in interface ResourceAdapter
namesEqual
in class ResourceAdapterBase
public AccountIterator getAccountIterator() throws WavesetException
AgentResourceAdapter
getAccountIterator
in interface ResourceAdapter
getAccountIterator
in class AgentResourceAdapter
WavesetException
public AccountIterator getAccountIterator(java.util.Map params) throws WavesetException
AgentResourceAdapter
getAccountIterator
in interface ResourceAdapter
getAccountIterator
in class AgentResourceAdapter
WavesetException
public java.util.List listObjects(java.lang.String objectType, java.util.Map options) throws WavesetException
listObjects
in interface ResourceAdapter
listObjects
in class AgentResourceAdapter
objectType
- - the name of a valid object class for this specified "resId".options
- - several options can be specified which control the behavior of the search.
They include:
WavesetException
public WavesetResult testConfiguration() throws WavesetException
testConfiguration
in interface ResourceAdapter
testConfiguration
in class ResourceAdapterBase
WavesetException
public java.lang.Object getAttributeValue(java.lang.String name) throws WavesetException
ActiveSync
getAttributeValue
in interface ActiveSync
WavesetException
public void setAttributeValue(java.lang.String name, java.lang.Object value) throws WavesetException
setAttributeValue
in interface ActiveSync
WavesetException
public void init() throws java.lang.Exception
init
in interface ActiveSync
java.lang.Exception
public void shutdown()
ActiveSync
shutdown
in interface ActiveSync
protected com.waveset.adapter.iapi.IAPI buildEvent(com.waveset.adapter.ADSIResourceAdapter.UpdateRow row) throws WavesetException, com.waveset.adapter.iapi.IAPIException
WavesetException
com.waveset.adapter.iapi.IAPIException
protected void processUpdates(java.util.List list, com.waveset.adapter.iapi.IAPI prox) throws WavesetException, com.waveset.adapter.iapi.IAPIException
WavesetException
com.waveset.adapter.iapi.IAPIException
public int poll()
poll
in interface ActiveSync
protected void logUpdate(int level, com.waveset.adapter.ADSIResourceAdapter.UpdateRow update, WavesetResult result)
public void callCompleted(com.waveset.adapter.iapi.IAPI call)
If this does not delete the call, there must be something else that deletes it - or it will just go away when it expires.
call
- IAPI
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |