com.waveset.adapter
Class GroupWiseResourceAdapter

java.lang.Object
  extended bycom.waveset.adapter.ResourceAdapterBase
      extended bycom.waveset.adapter.AgentResourceAdapter
          extended bycom.waveset.adapter.GroupWiseResourceAdapter
All Implemented Interfaces:
RASecureConnection.RASecureConnectionAccessor, ResourceAdapter

public class GroupWiseResourceAdapter
extends AgentResourceAdapter


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 AA_GW_AccountID
           
static java.lang.String AA_GW_Department
           
static java.lang.String AA_GW_DistributionLists
           
static java.lang.String AA_GW_DN
           
static java.lang.String AA_GW_FaxNumber
           
static java.lang.String AA_GW_GatewayAccess
           
static java.lang.String AA_GW_GivenName
           
static java.lang.String AA_GW_MailboxExpDate
           
static java.lang.String AA_GW_MailboxID
           
static java.lang.String AA_GW_NetID
           
static java.lang.String AA_GW_PhoneNumber
           
static java.lang.String AA_GW_Surname
           
static java.lang.String AA_GW_Title
           
static java.lang.String code_id
           
static java.lang.String RA_GW_DEL_NDS_USER
           
static java.lang.String RA_GW_DOMAIN_TREE
           
static java.lang.String RA_GW_DOMAINDN
           
static java.lang.String RA_GW_MERGE_DISTLISTS
           
static java.lang.String RA_GW_NDS_ADMIN_PASSWORD
           
static java.lang.String RA_GW_NDS_ADMIN_USERDN
           
static java.lang.String RA_GW_NDS_BASE_CTX
           
static java.lang.String RA_GW_NDS_TREE
           
static java.lang.String RA_GW_PO_NAME
           
 
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
 
Fields inherited from interface com.waveset.adapter.ResourceAdapter
CHANGE_PASSWORD_LOCATION, DISABLE, ENABLE, EXPIRE_PASSWORD, GUID, IGNORE_ATTR, NEW_ACCOUNT_ID, OP_DAYS_INACTIVE, OP_DISABLED, OP_DORMANT, OP_EXPIRED, OP_EXPIREDPWD, OP_INACTIVE, OP_LOCKED, OP_NO_PASSWORD_SET, OP_NOOWNERSHIP, OP_NOPASSWORDREQ, OP_NUMINACTIVEDAYS, OP_NUMPWDAYS, OP_PWNUMDAYS, RA_BASE_CTX, RA_DISPLAY_NAME_ATTR, RA_NEW_OBJECT_ID, RA_NEW_OBJECT_NAME, RA_OBJECT_ATTRIBUTES, RA_OBJECT_CLASS, RA_OBJECT_ID, RA_OBJECT_TYPE, RA_OP_TYPE, RA_RENAME_OP, RA_REQUESTOR, RA_SAVEAS_OP, RA_SEARCH_ATTRIBUTE_NAMES, RA_SEARCH_ATTRS_TO_GET, RA_SEARCH_CONTEXT, RA_SEARCH_FILTER, RA_SEARCH_RUN_AS_PASSWORD, RA_SEARCH_RUN_AS_USER, RA_SEARCH_SCOPE, RA_SEARCH_SCOPE_OBJECT, RA_SEARCH_SCOPE_ONE_LEVEL, RA_SEARCH_SCOPE_SUBTREE, RA_SEARCH_TIME_LIMIT, RESET_PASSWORD, SYSTEM_ATTRIBUTES, UNLOCK, WS_USER_PASSWORD
 
Constructor Summary
GroupWiseResourceAdapter()
           
GroupWiseResourceAdapter(Resource res, ObjectCache cache)
           
 
Method Summary
 Resource createPrototypeResource()
           
 AccountIterator getAccountIterator()
          Default implementation just gets all the users and holds them in an array.
protected  java.lang.String getLoginAttrName(java.lang.String key)
          Get the attribute name to use for the login info key that is passed in.
static Resource staticCreatePrototypeResource()
           
 
Methods inherited from class com.waveset.adapter.AgentResourceAdapter
addCmdArgs, addIgnoredAttrs, agentTestConfiguration, augmentListAllObjects, authenticate, buildGetObjectRequest, checkCreateAccount, checkDeleteAccount, checkUpdateAccount, createAccounts, createObject, createXmlObject, createXmlObject, deleteAccounts, deleteObject, determineGatewayCapabilities, disableAccounts, doCreateOrUpdateObjectRequest, doCreateOrUpdateRequest, doGetGatewayInfo, doGetGatewayInfo, enableAccounts, encryptEncryptedType, encryptEncryptedType, endRequest, extendWSAttributes, getAccountAttributes, getAccountIterator, getAgentAdapters, getAuthenticationTimeout, getBlockAccountIterator, getBlockAccountIterator, getConnection, getFeatures, getGatewayInfo, getGenericObjectsFromResponse, getHangTimeout, getObject, getObjectFromResponse, getObjectIterator, getObjectListFromResponse, getResInfo, getResponse, getResponse, getResponse, getResponse, getResponseBytes, getResponseBytes, getResponseBytes, getResponseBytes, getResultItemList, getTraceFile, getTraceFile, getUser, getUsersFromResponse, getUsersFromResponse, getWsAttrsString, listAllObjects, listObjects, loadUsersFromResponse, makeConnection, makeConnection, makeGUID, mapAttributes, mapObjectType, removeUserAttr, returnConnection, returnConnection, returnConnection, returnConnection, reverseMapAttributes, run, runAction, scan, sendRequest, sendRequest, sendRequest, sendRequest, setConnection, setGatewayInfo, startRequest, startRequest, startRequestWithoutConnect, transformGUID, updateAccounts, updateIdFromResource, updateKey, updateObject
 
Methods inherited from class com.waveset.adapter.ResourceAdapterBase
checkForNoPasswordInSchema, checkSyntax, createAccount, createIdentity, deleteAccount, deleteAccount, disableAccount, dnsEqual, dnsEqual, enableAccount, executeResourceAttributeJavascriptAction, fillInResourceInfo, fillInResourceInfo, getAccountIterator, getAction, getActionNotFoundErrorMessage, getActionNotFoundMessage, getActionRunAsPassword, getActionRunAsUser, getActionTimeout, getActionType, getAdapter, getAdapter, getAdapter, getAdapterProxy, getAdapterProxy, getAllAccounts, getAttrNameFromMapName, getAttrNameFromMapName, getAttrParse, getAttrTypeFromMapName, getAttrTypeFromMapName, getAUserName, getBaseContextAttrName, getBaseContextObject, getBaseContexts, getBlockSize, getContext, getExcludedAccountsRule, getIdentity, getListAllObjectsAttrParse, getListUserAttrParse, getListUserGroupsAttrParse, getOptionalBooleanResAttrVal, getOptionalBooleanResAttrVal, getOptionalEncryptedResAttrVal, getOptionalResAttrVal, getOptionalStringResAttrVal, getRequiredResAttr, getRequiredResAttr, getRequiredResAttrVal, getRequiredResAttrVal, getRequiredResAttrVals, getRequiredUserAttributeNames, getResAttrValActionOnUser, getResAttrVals, getResource, getResourceAccounts, getResourceInfo, getResourceObjectAttrValNameAttr, getResourceObjectClassAttr, getResourceObjectTypePrefix, getSchemaMap, getUser, getWSAttrByMapName, getWSAttrByMapName, getWSAttrFromMap, handleActionResult, handleJavascriptActionResult, isAccountAttributeSecret, isExcludedAccount, isExcludedAccount, isFeatureEnabled, isSupported, isTestMode, listAllObjects, listObjects, listObjectsOfType, lookupAction, lookupAction, lookupActions, namesEqual, objectClassesMatchType, println, realCreate, realDelete, realDisable, realEnable, realUpdate, restoreResourceObjectClassAttr, run, runResourceAttributeJavascriptAction, setCache, setContext, setDisabled, setFromResource, setResource, setResourceObjectClassAttr, setResourceOptionAttrs, startConnection, startConnectionWrapper, stopConnection, supportsAccountActions, supportsAccountDisable, supportsActions, supportsCaseInsensitiveAccountIds, supportsContainerObjectTypes, supportsExcludedAccounts, supportsResourceAccount, supportsScanning, testConfiguration, updateAccount, updateResourceAccount, updateResourceIdentity, vmStoreBoot, vmStoreGet, vmStoreInit, vmStoreLatch, vmStorePut
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

code_id

public static final java.lang.String code_id
See Also:
Constant Field Values

RA_GW_NDS_TREE

public static final java.lang.String RA_GW_NDS_TREE
See Also:
Constant Field Values

RA_GW_NDS_BASE_CTX

public static final java.lang.String RA_GW_NDS_BASE_CTX
See Also:
Constant Field Values

RA_GW_NDS_ADMIN_USERDN

public static final java.lang.String RA_GW_NDS_ADMIN_USERDN
See Also:
Constant Field Values

RA_GW_NDS_ADMIN_PASSWORD

public static final java.lang.String RA_GW_NDS_ADMIN_PASSWORD
See Also:
Constant Field Values

RA_GW_DOMAINDN

public static final java.lang.String RA_GW_DOMAINDN
See Also:
Constant Field Values

RA_GW_DOMAIN_TREE

public static final java.lang.String RA_GW_DOMAIN_TREE
See Also:
Constant Field Values

RA_GW_PO_NAME

public static final java.lang.String RA_GW_PO_NAME
See Also:
Constant Field Values

RA_GW_MERGE_DISTLISTS

public static final java.lang.String RA_GW_MERGE_DISTLISTS
See Also:
Constant Field Values

RA_GW_DEL_NDS_USER

public static final java.lang.String RA_GW_DEL_NDS_USER
See Also:
Constant Field Values

AA_GW_AccountID

public static final java.lang.String AA_GW_AccountID
See Also:
Constant Field Values

AA_GW_Surname

public static final java.lang.String AA_GW_Surname
See Also:
Constant Field Values

AA_GW_DN

public static final java.lang.String AA_GW_DN
See Also:
Constant Field Values

AA_GW_NetID

public static final java.lang.String AA_GW_NetID
See Also:
Constant Field Values

AA_GW_Department

public static final java.lang.String AA_GW_Department
See Also:
Constant Field Values

AA_GW_FaxNumber

public static final java.lang.String AA_GW_FaxNumber
See Also:
Constant Field Values

AA_GW_GatewayAccess

public static final java.lang.String AA_GW_GatewayAccess
See Also:
Constant Field Values

AA_GW_GivenName

public static final java.lang.String AA_GW_GivenName
See Also:
Constant Field Values

AA_GW_MailboxExpDate

public static final java.lang.String AA_GW_MailboxExpDate
See Also:
Constant Field Values

AA_GW_MailboxID

public static final java.lang.String AA_GW_MailboxID
See Also:
Constant Field Values

AA_GW_PhoneNumber

public static final java.lang.String AA_GW_PhoneNumber
See Also:
Constant Field Values

AA_GW_Title

public static final java.lang.String AA_GW_Title
See Also:
Constant Field Values

AA_GW_DistributionLists

public static final java.lang.String AA_GW_DistributionLists
See Also:
Constant Field Values
Constructor Detail

GroupWiseResourceAdapter

public GroupWiseResourceAdapter(Resource res,
                                ObjectCache cache)

GroupWiseResourceAdapter

public GroupWiseResourceAdapter()
Method Detail

staticCreatePrototypeResource

public static Resource staticCreatePrototypeResource()
                                              throws WavesetException
Throws:
WavesetException

createPrototypeResource

public Resource createPrototypeResource()
                                 throws WavesetException
Specified by:
createPrototypeResource in interface ResourceAdapter
Specified by:
createPrototypeResource in class AgentResourceAdapter
Throws:
WavesetException

getAccountIterator

public AccountIterator getAccountIterator()
                                   throws WavesetException
Description copied from class: AgentResourceAdapter
Default implementation just gets all the users and holds them in an array. May (should) be overriden by the subclass.

Specified by:
getAccountIterator in interface ResourceAdapter
Overrides:
getAccountIterator in class AgentResourceAdapter
Throws:
WavesetException

getLoginAttrName

protected java.lang.String getLoginAttrName(java.lang.String key)
Get the attribute name to use for the login info key that is passed in. This basically maps login info keys to attribute names that will be used by the resource.

Overrides:
getLoginAttrName in class AgentResourceAdapter