com.waveset.adapter
Class EntrustResourceAdapter

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

public class EntrustResourceAdapter
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 ACTIVATION_TIME
           
static java.lang.String ADDITION_TIME
           
static java.lang.String AUTH_CODE
           
static java.lang.String AUTH_CODE_EXPIRE
           
static java.lang.String CANCEL_DN_CHANGE
           
static java.lang.String CANCEL_KEY_RECOVER
           
static java.lang.String CERT_TYPE
           
static java.lang.String CERTIFICATE_LIST
           
static java.lang.String code_id
           
static java.lang.String DEACTIVATE
           
static java.lang.String DEACTIVATION_TIME
           
static java.lang.String DISPLAY_ENTRUST_PASSWORD
           
static java.lang.String DISPLAY_ENTRUST_USER
           
static java.lang.String DN_CHANGE
           
static java.lang.String ENTRUST_DN
           
static java.lang.String ENTRUST_GROUP
           
static java.lang.String ENTRUST_LAST_STATE
           
static java.lang.String ENTRUST_LOGIN_MODULE
           
static java.lang.String ENTRUST_PASSWORD
           
static java.lang.String ENTRUST_RESOURCE_TYPE
           
static java.lang.String ENTRUST_RESOURCE_USER_FORM
           
static java.lang.String ENTRUST_ROLE
           
static java.lang.String ENTRUST_STATE
           
static java.lang.String ENTRUST_USER
           
static java.lang.String KEY_RECOVER
           
static java.lang.String MEMBER_ALL_GROUPS
           
static java.lang.String RA_ENTRUST_INI
           
static java.lang.String RA_ENTRUST_PASSWORD
           
static java.lang.String RA_ENTRUST_PROFILE
           
static java.lang.String REACTIVATE
           
static java.lang.String REF_NUM
           
static java.lang.String REISSUE_AUTH_CODE
           
static java.lang.String REVOKE
           
static java.lang.String REVOKE_REASON
           
static java.lang.String REVOKE_REASON_TEXT
           
static java.lang.String SUBJECT_ALT_NAME
           
static java.lang.String USER_CATEGORY
           
static java.lang.String USER_PASSWORD
           
 
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
EntrustResourceAdapter()
           
EntrustResourceAdapter(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.
static Resource staticCreatePrototypeResource()
           
 boolean supportsAccountDisable()
          Return true if this resource supports some form of native account disable.
 
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, getGatewayInfo, getGenericObjectsFromResponse, getHangTimeout, getLoginAttrName, 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, 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_ENTRUST_INI

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

RA_ENTRUST_PROFILE

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

RA_ENTRUST_PASSWORD

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

USER_PASSWORD

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

AUTH_CODE

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

REF_NUM

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

SUBJECT_ALT_NAME

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

ENTRUST_STATE

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

ENTRUST_ROLE

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

ENTRUST_GROUP

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

CERT_TYPE

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

ENTRUST_DN

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

MEMBER_ALL_GROUPS

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

USER_CATEGORY

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

AUTH_CODE_EXPIRE

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

ENTRUST_LAST_STATE

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

ACTIVATION_TIME

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

DEACTIVATION_TIME

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

ADDITION_TIME

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

DN_CHANGE

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

CANCEL_DN_CHANGE

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

KEY_RECOVER

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

CANCEL_KEY_RECOVER

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

REVOKE

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

REVOKE_REASON

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

REVOKE_REASON_TEXT

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

DEACTIVATE

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

REACTIVATE

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

REISSUE_AUTH_CODE

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

CERTIFICATE_LIST

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

ENTRUST_RESOURCE_TYPE

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

ENTRUST_LOGIN_MODULE

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

ENTRUST_USER

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

ENTRUST_PASSWORD

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

DISPLAY_ENTRUST_USER

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

DISPLAY_ENTRUST_PASSWORD

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

ENTRUST_RESOURCE_USER_FORM

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

EntrustResourceAdapter

public EntrustResourceAdapter(Resource res,
                              ObjectCache cache)

EntrustResourceAdapter

public EntrustResourceAdapter()
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

supportsAccountDisable

public boolean supportsAccountDisable()
Return true if this resource supports some form of native account disable. When this is true, the provisoining engine will expect a real implementation of the disableAccount and enableAccount methods.

Specified by:
supportsAccountDisable in interface ResourceAdapter
Overrides:
supportsAccountDisable in class ResourceAdapterBase

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

getFeatures

public GenericObject getFeatures()
Expose features supported by the Resource Adapter. Note: ActiveSync is considered a facet, not a feature.

Specified by:
getFeatures in interface ResourceAdapter
Overrides:
getFeatures in class AgentResourceAdapter
Returns:
GenericObject containing Features, as both key and value, which are supported by this resource adapter.
See Also:
ResourceAdapter.Features