com.waveset.adapter
Class IMailResourceAdapter
java.lang.Object
com.waveset.adapter.ResourceAdapterBase
com.waveset.adapter.IMailResourceAdapter
- All Implemented Interfaces:
- ResourceAdapter
- public class IMailResourceAdapter
- extends ResourceAdapterBase
Field Summary |
static java.lang.String |
code_id
|
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 |
Methods inherited from class com.waveset.adapter.ResourceAdapterBase |
checkForNoPasswordInSchema, checkSyntax, createAccount, createIdentity, createObject, deleteAccount, deleteAccount, deleteObject, disableAccount, disableAccounts, dnsEqual, dnsEqual, enableAccount, enableAccounts, executeResourceAttributeJavascriptAction, fillInResourceInfo, fillInResourceInfo, getAccountAttributes, getAccountIterator, getAccountIterator, 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, getFeatures, getIdentity, getListAllObjectsAttrParse, getListUserAttrParse, getListUserGroupsAttrParse, getObject, 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, listAllObjects, listObjects, listObjects, listObjectsOfType, lookupAction, lookupAction, lookupActions, namesEqual, objectClassesMatchType, println, realCreate, realDelete, realDisable, realEnable, realUpdate, restoreResourceObjectClassAttr, run, run, runResourceAttributeJavascriptAction, scan, setCache, setContext, setDisabled, setFromResource, setResource, setResourceObjectClassAttr, setResourceOptionAttrs, startConnection, startConnectionWrapper, stopConnection, supportsAccountActions, supportsAccountDisable, supportsActions, supportsCaseInsensitiveAccountIds, supportsContainerObjectTypes, supportsExcludedAccounts, supportsResourceAccount, supportsScanning, testConfiguration, updateAccount, updateObject, 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 |
code_id
public static final java.lang.String code_id
- See Also:
- Constant Field Values
IMailResourceAdapter
public IMailResourceAdapter(Resource res,
ObjectCache cache)
IMailResourceAdapter
public IMailResourceAdapter()
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 ResourceAdapterBase
- Throws:
WavesetException
checkCreateAccount
public WavesetResult checkCreateAccount(WSUser user)
throws WavesetException
- Specified by:
checkCreateAccount
in interface ResourceAdapter
- Specified by:
checkCreateAccount
in class ResourceAdapterBase
- Throws:
WavesetException
createAccounts
public WavesetResult createAccounts(WSUser[] users)
throws WavesetException
- Specified by:
createAccounts
in interface ResourceAdapter
- Overrides:
createAccounts
in class ResourceAdapterBase
- Throws:
WavesetException
checkUpdateAccount
public WavesetResult checkUpdateAccount(WSUser user)
throws WavesetException
- Specified by:
checkUpdateAccount
in interface ResourceAdapter
- Specified by:
checkUpdateAccount
in class ResourceAdapterBase
- Throws:
WavesetException
updateAccounts
public WavesetResult updateAccounts(WSUser[] users)
throws WavesetException
- Specified by:
updateAccounts
in interface ResourceAdapter
- Overrides:
updateAccounts
in class ResourceAdapterBase
- Throws:
WavesetException
checkDeleteAccount
public WavesetResult checkDeleteAccount(WSUser user)
throws WavesetException
- Specified by:
checkDeleteAccount
in interface ResourceAdapter
- Specified by:
checkDeleteAccount
in class ResourceAdapterBase
- Throws:
WavesetException
deleteAccounts
public WavesetResult deleteAccounts(WSUser[] users)
throws WavesetException
- Specified by:
deleteAccounts
in interface ResourceAdapter
- Overrides:
deleteAccounts
in class ResourceAdapterBase
- Throws:
WavesetException
getUser
public WSUser getUser(WSUser user)
throws WavesetException
- Description copied from interface:
ResourceAdapter
- Retrieves account information from the resource for the specified
WSUser and returns a new WSUser based on the information from the
resource. Returns null if the account does not exist.
- Specified by:
getUser
in interface ResourceAdapter
- Overrides:
getUser
in class ResourceAdapterBase
- Throws:
WavesetException
doRequest
public java.lang.String doRequest(java.lang.String path,
java.lang.StringBuffer post,
java.util.Hashtable properties,
java.lang.String requestType)
throws WavesetException
- Throws:
WavesetException
getPage
public java.lang.String getPage(java.net.HttpURLConnection con)
throws java.lang.Exception
- Throws:
java.lang.Exception
authenticate
public WavesetResult authenticate(java.util.HashMap loginInfo)
throws WavesetException
- Description copied from interface:
ResourceAdapter
- Authenticates the user against the resource.
If authentication is successful, the authenticated id will
be returned. If more info is required to complete authentication
the result will contain the required info
- Specified by:
authenticate
in interface ResourceAdapter
- Specified by:
authenticate
in class ResourceAdapterBase
- Throws:
WavesetException