|
||||||||||
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.NTResourceAdapter
Nested Class Summary |
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 |
NT_OBJECT_TYPE_ACCOUNT
Windows-specific name for ObjectType.ACCOUNT. |
static java.lang.String |
NT_OBJECT_TYPE_GROUP
Windows-specific name for ObjectType.GROUP. |
static java.lang.String |
RA_CREATE_HOME_DIR
|
static java.lang.String |
RA_DOMAIN
|
static java.lang.String |
RA_PASSWORD
|
static java.lang.String |
RA_USER
|
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 | |
NTResourceAdapter()
|
|
NTResourceAdapter(Resource res,
ObjectCache cache)
|
Method Summary | |
Resource |
createPrototypeResource()
|
AccountIterator |
getAccountIterator()
Default implementation just gets all the users and holds them in an array. |
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. |
java.util.List |
listObjects(java.lang.String objectType,
java.util.Map options)
Returns a list of objects matching the requested objectType and options |
protected java.lang.String |
mapObjectType(java.lang.String resourceObjectType)
Resource adapters such as the ones for NT and ADSI may overrided this method to provide resource-specific types. |
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()
|
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_DOMAIN
public static final java.lang.String RA_CREATE_HOME_DIR
public static final java.lang.String NT_OBJECT_TYPE_ACCOUNT
public static final java.lang.String NT_OBJECT_TYPE_GROUP
Constructor Detail |
public NTResourceAdapter(Resource res, ObjectCache cache)
public NTResourceAdapter()
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 AccountIterator getAccountIterator() throws WavesetException
AgentResourceAdapter
getAccountIterator
in interface ResourceAdapter
getAccountIterator
in class AgentResourceAdapter
WavesetException
public boolean supportsActions()
supportsActions
in interface ResourceAdapter
supportsActions
in class ResourceAdapterBase
public boolean supportsExcludedAccounts()
supportsExcludedAccounts
in interface ResourceAdapter
supportsExcludedAccounts
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
protected java.lang.String mapObjectType(java.lang.String resourceObjectType)
AgentResourceAdapter
mapObjectType
in class AgentResourceAdapter
public GenericObject getFeatures()
getFeatures
in interface ResourceAdapter
getFeatures
in class AgentResourceAdapter
ResourceAdapter.Features
public java.util.List listObjects(java.lang.String objectType, java.util.Map options) throws WavesetException
AgentResourceAdapter
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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |