|
||||||||||
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.NDSResourceAdapter
Nested Class Summary | |
static class |
NDSResourceAdapter.UpdateRowComparator
Internal class that implenents the Comparator interface for sorting the UpdateRow elements in a list by a named attribute (type is string but really a long). |
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 |
code_id
|
static java.lang.String |
OPT_RUNAS_PASSWORD
|
static java.lang.String |
OPT_RUNAS_USER
|
static java.lang.String |
OPT_SEARCH_ATTRS
|
static java.lang.String |
OPT_SEARCH_FILTER
|
static java.lang.String |
OPT_SEARCH_SCOPE
|
static java.lang.String |
RA_BASE_CTX
|
static java.lang.String |
RA_GW_DOMAINDN
|
static java.lang.String |
RA_GW_PO_DELETE_PATTERN
|
static java.lang.String |
RA_MODIFICATION_TIMESTAMP_ATTR
|
static java.lang.String |
RA_MODIFICATION_TIMESTAMP_FILTER
|
static java.lang.String |
RA_NDSTREE
|
static java.lang.String |
RA_OBJCLASS
|
static java.lang.String |
RA_PASSWORD
|
static java.lang.String |
RA_TEMPLATE
|
static java.lang.String |
RA_TEMPLATE_HOMEDIR_ATTR
|
static java.lang.String |
RA_USERDN
|
static java.lang.String |
RA_WSNAME
|
Fields inherited from class com.waveset.adapter.AgentResourceAdapter |
_connection, ATTR_ACTION, CONNECTED_TO_RESOURCE, RA_AUTHTIMEOUT, RA_CONN, RA_HANGTIMEOUT, RA_HOST, 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 | |
NDSResourceAdapter()
|
|
NDSResourceAdapter(Resource res,
ObjectCache cache)
|
Method Summary | |
WavesetResult |
authenticate(java.util.HashMap loginInfo)
Authenticates the user against the resource. |
protected com.waveset.adapter.iapi.IAPI |
buildEvent(com.waveset.adapter.NDSResourceAdapter.UpdateRow row)
Deprecated. As of IdM 5.5. |
void |
callCompleted(com.waveset.adapter.iapi.IAPI call)
|
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.NDSResourceAdapter.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 int |
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 |
supportsExcludedAccounts()
|
boolean |
supportsScanning()
|
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_NDSTREE
public static final java.lang.String RA_BASE_CTX
public static final java.lang.String RA_USERDN
public static final java.lang.String RA_PASSWORD
public static final java.lang.String RA_OBJCLASS
public static final java.lang.String RA_WSNAME
public static final java.lang.String RA_TEMPLATE
public static final java.lang.String RA_TEMPLATE_HOMEDIR_ATTR
public static final java.lang.String RA_MODIFICATION_TIMESTAMP_ATTR
public static final java.lang.String RA_MODIFICATION_TIMESTAMP_FILTER
public static final java.lang.String RA_GW_DOMAINDN
public static final java.lang.String RA_GW_PO_DELETE_PATTERN
public static final java.lang.String OPT_SEARCH_FILTER
public static final java.lang.String OPT_SEARCH_ATTRS
public static final java.lang.String OPT_SEARCH_SCOPE
public static final java.lang.String OPT_RUNAS_USER
public static final java.lang.String OPT_RUNAS_PASSWORD
Constructor Detail |
public NDSResourceAdapter(Resource res, ObjectCache cache)
public NDSResourceAdapter()
Method Detail |
public static Resource staticCreatePrototypeResource() throws WavesetException
WavesetException
public Resource createPrototypeResource() throws WavesetException
createPrototypeResource
in interface ResourceAdapter
createPrototypeResource
in class AgentResourceAdapter
WavesetException
public boolean supportsExcludedAccounts()
supportsExcludedAccounts
in interface ResourceAdapter
supportsExcludedAccounts
in class ResourceAdapterBase
protected java.lang.String getLoginAttrName(java.lang.String key)
getLoginAttrName
in class AgentResourceAdapter
public GenericObject getFeatures()
AgentResourceAdapter
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 boolean supportsScanning()
supportsScanning
in interface ResourceAdapter
supportsScanning
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 boolean supportsAccountDisable()
supportsAccountDisable
in interface ResourceAdapter
supportsAccountDisable
in class ResourceAdapterBase
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 java.lang.String getBaseContextAttrName() throws WavesetException
getBaseContextAttrName
in interface ResourceAdapter
getBaseContextAttrName
in class ResourceAdapterBase
WavesetException
public void init() throws java.lang.Exception
ActiveSync
init
in interface ActiveSync
java.lang.Exception
public void shutdown()
ActiveSync
shutdown
in interface ActiveSync
public java.lang.Object getAttributeValue(java.lang.String name) throws java.lang.Exception
ActiveSync
getAttributeValue
in interface ActiveSync
java.lang.Exception
public void setAttributeValue(java.lang.String name, java.lang.Object value) throws java.lang.Exception
setAttributeValue
in interface ActiveSync
java.lang.Exception
public void callCompleted(com.waveset.adapter.iapi.IAPI call)
public int poll() throws java.lang.InterruptedException
ActiveSync
poll
in interface ActiveSync
java.lang.InterruptedException
protected int processUpdates(java.util.List list, com.waveset.adapter.iapi.IAPI prox) throws WavesetException, com.waveset.adapter.iapi.IAPIException
WavesetException
com.waveset.adapter.iapi.IAPIException
protected com.waveset.adapter.iapi.IAPI buildEvent(com.waveset.adapter.NDSResourceAdapter.UpdateRow row) throws WavesetException, com.waveset.adapter.iapi.IAPIException
row
- Data to build an event from. @see UpdateRow
WavesetException
com.waveset.adapter.iapi.IAPIException
protected void logUpdate(int level, com.waveset.adapter.NDSResourceAdapter.UpdateRow update, WavesetResult result)
public WavesetResult authenticate(java.util.HashMap loginInfo) throws WavesetException
ResourceAdapter
authenticate
in interface ResourceAdapter
authenticate
in class AgentResourceAdapter
WavesetException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |