com.waveset.adapter
Class PeopleSoftResourceAdapter

java.lang.Object
  extended bycom.waveset.adapter.ResourceAdapterBase
      extended bycom.waveset.adapter.PeopleSoftResourceAdapter
All Implemented Interfaces:
ActiveSync, ResourceAdapter

public class PeopleSoftResourceAdapter
extends ResourceAdapterBase
implements ActiveSync


Nested Class Summary
protected  class PeopleSoftResourceAdapter.AcctIter
          Deprecated. AccountIterator implementation that can be built by construction from the output of mast smc
static interface PeopleSoftResourceAdapter.ObjectType
          Deprecated.  
 
Nested classes inherited from class com.waveset.adapter.ResourceAdapterBase
ResourceAdapterBase.SimpleAccountIterator
 
Nested classes inherited from class com.waveset.adapter.ResourceAdapter
ResourceAdapter.ActionResult, ResourceAdapter.Features
 
Field Summary
static java.lang.String code_id
          Deprecated.  
static java.lang.String DISPLAY_PASSWORD
          Deprecated.  
static java.lang.String DISPLAY_USER
          Deprecated.  
static java.lang.String LOGIN_PASSWORD
          Deprecated.  
static java.lang.String LOGIN_USER
          Deprecated. Pass thru authentication variables.
static java.lang.String PS_EMPLID
          Deprecated.  
static java.lang.String RA_ACTIVITY
          Deprecated.  
static java.lang.String RA_AUDIT_MESSAGE_DEFINITION
          Deprecated.  
static java.lang.String RA_HOST
          Deprecated. Resource attributes are the common names that will be visible in the GUI that will prompt the user for values.
static java.lang.String RA_MESSAGE_DEFINITION
          Deprecated.  
static java.lang.String RA_PASSWORD
          Deprecated.  
static java.lang.String RA_PORT
          Deprecated. The port on which to communicate to the resource.
static java.lang.String RA_SSL
          Deprecated.  
static java.lang.String RA_USER
          Deprecated. The account name, group and role used to connect to the resource.
static java.lang.String RESOURCE_NAME
          Deprecated.  
static java.lang.String RESOURCE_USER_FORM
          Deprecated.  
 
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.ActiveSync
ACTIVE_SYNC_EVENT_RES_ATTRS_XML, ACTIVE_SYNC_STD_RES_ATTRS_XML, ATTR_IS_DELETED, DATE_FORMAT, DATE_TIME_FORMAT, RA_APPLY_META_VIEW, RA_ASSIGN_SOURCE_ON_CREATE, RA_CONFIRMATION_RULE, RA_CORRELATION_RULE, RA_CREATE_UNMATCHED, RA_DELETE_RULE, RA_FORM, RA_ID, RA_IDM_NAME_RULE, RA_LEGACY_EVENT_GEN, RA_LOG_LEVEL, RA_LOG_PATH, RA_LOG_SIZE, RA_MAX_AGE_LENGTH, RA_MAX_AGE_UNIT, RA_MAX_ARCHIVES, RA_NAME, RA_PARAMETERIZED_INPUT_FORM, RA_POPULATE_GLOBAL, RA_POSTPOLL_WORKFLOW, RA_PREPOLL_WORKFLOW, RA_PROCESS_RULE, RA_PROXY_ADMINISTRATOR, RA_RESET_TO_TODAY, RA_RESOLVE_PROCESS_RULE, RA_SCHEDULE_INTERVAL, RA_SCHEDULE_INTERVAL_COUNT, RA_SCHEDULE_START_DATE, RA_SCHEDULE_START_TIME, RA_SYNC_CONFIG_MODE, RA_SYNC_POST_PROCESS_FORM, RA_UPDATE_IF_DELETE, RA_USE_INPUT_FORM, TIME_FORMAT, TRACE_LEVEL_DEBUG, TRACE_LEVEL_ERROR, TRACE_LEVEL_INFO, TRACE_LEVEL_NONE, TRACE_LEVEL_WARNING
 
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
PeopleSoftResourceAdapter()
          Deprecated.  
PeopleSoftResourceAdapter(Resource res, ObjectCache cache)
          Deprecated.  
 
Method Summary
protected  void addAttrIfMapped(WSUser user, java.lang.String attrName, java.lang.Object value)
          Deprecated. Add the named attribute and value to the user.
protected  void addAttrIfMapped(WSUser user, java.lang.String attrName, java.lang.Object[] values)
          Deprecated.  
 WavesetResult authenticate(java.util.HashMap loginInfo)
          Deprecated. Authenticates the user against the resource.
 void callCompleted(com.waveset.adapter.iapi.IAPI call)
          Deprecated.  
 WavesetResult checkCreateAccount(WSUser user)
          Deprecated. Checks to see if an account can be created.
 WavesetResult checkDeleteAccount(WSUser user)
          Deprecated.  
 WavesetResult checkUpdateAccount(WSUser user)
          Deprecated.  
protected  psft.pt8.beans.ado.Connection connect()
          Deprecated.  
 WavesetResult createAccounts(WSUser[] users)
          Deprecated. This being a READ ONLY resource, just put in success messages
 Resource createPrototypeResource()
          Deprecated.  
 WavesetResult deleteAccounts(WSUser[] users)
          Deprecated.  
 WavesetResult disableAccounts(WSUser[] users)
          Deprecated.  
protected  void disconnect(psft.pt8.beans.ado.Connection connection)
          Deprecated.  
protected  void dumpResult(psft.pt8.beans.ma.MagResult result)
          Deprecated.  
 WavesetResult enableAccounts(WSUser[] users)
          Deprecated.  
 WSAttributes getAccountAttributes(java.lang.String accountIdentity)
          Deprecated. This method is obsolete.
 AccountIterator getAccountIterator()
          Deprecated.  
 java.lang.Object getAttributeValue(java.lang.String name)
          Deprecated. Get or set an attribute value for the ActiveSync.
protected  int getIntOptionalResAttrVal(java.lang.String name)
          Deprecated.  
protected  int getIntRequiredResAttrVal(java.lang.String name)
          Deprecated.  
 WSUser getUser(WSUser user)
          Deprecated. Retrieve information about an account, and package it as a WSUser object.
protected  WSUser getUserInternal(java.lang.String identity)
          Deprecated.  
protected  psft.pt8.beans.ma.MagResultProcess getUsers()
          Deprecated.  
 void init()
          Deprecated. initialize yourself.
 java.util.ArrayList listAllObjects(java.lang.String resourceObjectType, java.util.Map options, java.lang.String runAsUser, EncryptedData runAsPassword)
          Deprecated. This method will return a list of object names of the specified object type.
protected  java.util.Map makePeopleSoftUser(WSUser wsUser, java.lang.String name, java.lang.String password, java.util.Map ctUser)
          Deprecated. From the attributes on the passed-in wsuser, create a PeopleSoft user (the caller will then call ctUser.save()).
protected  WSUser makeWavesetUser(java.util.Map ctUser)
          Deprecated. From a PeopleSoft user, build our waveset user based on the attributes in our schema map.
protected  WSUser makeWavesetUser(java.lang.String[] data, int offset, int width)
          Deprecated. From a flattened two dimensional array of Strings of specified width, make a WSUser.
 int poll()
          Deprecated. The poll method.
protected  void realCreate(WSUser user, WavesetResult result)
          Deprecated. Create a new user account on the resource This method is called by createAccounts (the multiuser create method).
protected  void realDelete(WSUser user, WavesetResult result)
          Deprecated. Needs to be overridden by subclass if default deleteAccounts() implementation is used.
protected  void realDisable(WSUser user, WavesetResult result)
          Deprecated. Disables a user, called within a connected context.
protected  void realEnable(WSUser user, WavesetResult result)
          Deprecated. Enables a user by setting adminLockout to false
protected  void realUpdate(WSUser user, WavesetResult result)
          Deprecated. Needs to be overridden by subclass if default updateAccounts() implementation is used.
protected  WSAttribute reverseMapAttr(java.lang.String attr, java.lang.Object value)
          Deprecated. Map from a resource attribute to a waveset attribute.
protected  WSAttribute reverseMapAttr(java.lang.String attr, java.lang.Object[] values)
          Deprecated. Map from a resource attribute to a waveset attribute.
protected  void reverseMapMultiAttr(java.lang.String attr, java.lang.Object value, WSUser user)
          Deprecated. Map from a resource attribute to multiple waveset attributes and add them to the user.
 void setAttributeValue(java.lang.String name, java.lang.Object value)
          Deprecated.  
 void shutdown()
          Deprecated. shutdown
protected  void startConnection()
          Deprecated. Needs to be overridden by subclass if default createAccounts() implementation is used.
static Resource staticCreatePrototypeResource()
          Deprecated.  
protected  void stopConnection()
          Deprecated. Needs to be overridden by subclass if default createAccounts() implementation is used.
 boolean supportsAccountDisable()
          Deprecated. If true, must implement realDisable() and realEnable().
 WavesetResult updateAccounts(WSUser[] users)
          Deprecated.  
 
Methods inherited from class com.waveset.adapter.ResourceAdapterBase
checkForNoPasswordInSchema, checkSyntax, createAccount, createIdentity, createObject, deleteAccount, deleteAccount, deleteObject, disableAccount, dnsEqual, dnsEqual, enableAccount, executeResourceAttributeJavascriptAction, fillInResourceInfo, fillInResourceInfo, 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, listObjects, listObjects, listObjectsOfType, lookupAction, lookupAction, lookupActions, namesEqual, objectClassesMatchType, println, restoreResourceObjectClassAttr, run, run, runResourceAttributeJavascriptAction, scan, setCache, setContext, setDisabled, setFromResource, setResource, setResourceObjectClassAttr, setResourceOptionAttrs, startConnectionWrapper, supportsAccountActions, 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
 

Field Detail

code_id

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

RA_HOST

public static final java.lang.String RA_HOST
Deprecated. 
Resource attributes are the common names that will be visible in the GUI that will prompt the user for values. For example, the GUI will show "host" and have a box next to it for the user to enter a host name. The name of the host used to communicate with the resource.

See Also:
Constant Field Values

RA_PORT

public static final java.lang.String RA_PORT
Deprecated. 
The port on which to communicate to the resource.

See Also:
Constant Field Values

RA_SSL

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

RA_USER

public static final java.lang.String RA_USER
Deprecated. 
The account name, group and role used to connect to the resource.

See Also:
Constant Field Values

RA_PASSWORD

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

RA_ACTIVITY

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

RA_MESSAGE_DEFINITION

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

RA_AUDIT_MESSAGE_DEFINITION

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

PS_EMPLID

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

LOGIN_USER

public static final java.lang.String LOGIN_USER
Deprecated. 
Pass thru authentication variables. Pass thru authentication is a process where a user or administrator can provide an account name and password which will be sent to the resource to be validated. The variables below are used to define the names of the various pieces of the Lighthouse implementation.

See Also:
Constant Field Values

LOGIN_PASSWORD

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

DISPLAY_USER

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

DISPLAY_PASSWORD

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

RESOURCE_NAME

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

RESOURCE_USER_FORM

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

PeopleSoftResourceAdapter

public PeopleSoftResourceAdapter(Resource res,
                                 ObjectCache cache)
Deprecated. 

PeopleSoftResourceAdapter

public PeopleSoftResourceAdapter()
Deprecated. 
Method Detail

staticCreatePrototypeResource

public static Resource staticCreatePrototypeResource()
                                              throws WavesetException
Deprecated. 
Throws:
WavesetException

createPrototypeResource

public Resource createPrototypeResource()
                                 throws WavesetException
Deprecated. 
Specified by:
createPrototypeResource in interface ResourceAdapter
Specified by:
createPrototypeResource in class ResourceAdapterBase
Throws:
WavesetException

reverseMapAttr

protected WSAttribute reverseMapAttr(java.lang.String attr,
                                     java.lang.Object[] values)
Deprecated. 
Map from a resource attribute to a waveset attribute. Return null if there's no mapping.


reverseMapAttr

protected WSAttribute reverseMapAttr(java.lang.String attr,
                                     java.lang.Object value)
Deprecated. 
Map from a resource attribute to a waveset attribute. Return null if there's no mapping.


reverseMapMultiAttr

protected void reverseMapMultiAttr(java.lang.String attr,
                                   java.lang.Object value,
                                   WSUser user)
Deprecated. 
Map from a resource attribute to multiple waveset attributes and add them to the user.


getIntRequiredResAttrVal

protected int getIntRequiredResAttrVal(java.lang.String name)
                                throws WavesetException,
                                       java.lang.NumberFormatException
Deprecated. 
Throws:
WavesetException
java.lang.NumberFormatException

getIntOptionalResAttrVal

protected int getIntOptionalResAttrVal(java.lang.String name)
                                throws WavesetException,
                                       java.lang.NumberFormatException
Deprecated. 
Throws:
WavesetException
java.lang.NumberFormatException

addAttrIfMapped

protected void addAttrIfMapped(WSUser user,
                               java.lang.String attrName,
                               java.lang.Object value)
Deprecated. 
Add the named attribute and value to the user. Handle null names and values. Also coerse the attribute value into the mapped type, or at least do the best that we can.


addAttrIfMapped

protected void addAttrIfMapped(WSUser user,
                               java.lang.String attrName,
                               java.lang.Object[] values)
Deprecated. 

makeWavesetUser

protected WSUser makeWavesetUser(java.lang.String[] data,
                                 int offset,
                                 int width)
                          throws WavesetException
Deprecated. 
From a flattened two dimensional array of Strings of specified width, make a WSUser. The array starts out with the attribute names (column headers) { "ID", "name", "address", "A1", "bob", "1234 Afsddress Lane"}

Parameters:
data - - the array of strings
offset - - 0 based index into the rows (will be multiplied by width to get the actual string array index)
width - - the number of columns in the flattened table
Throws:
WavesetException

makeWavesetUser

protected WSUser makeWavesetUser(java.util.Map ctUser)
                          throws WavesetException
Deprecated. 
From a PeopleSoft user, build our waveset user based on the attributes in our schema map.

Throws:
WavesetException

makePeopleSoftUser

protected java.util.Map makePeopleSoftUser(WSUser wsUser,
                                           java.lang.String name,
                                           java.lang.String password,
                                           java.util.Map ctUser)
                                    throws WavesetException
Deprecated. 
From the attributes on the passed-in wsuser, create a PeopleSoft user (the caller will then call ctUser.save()). Map any attributes over. This can also be used to update an existing PeopleSoft user by passing one in. It will have it's attributes updated and merged, and will be returned (the passed-in instance will be MODIFIED).

Throws:
WavesetException

startConnection

protected void startConnection()
                        throws WavesetException
Deprecated. 
Needs to be overridden by subclass if default createAccounts() implementation is used.

Overrides:
startConnection in class ResourceAdapterBase
Throws:
WavesetException

connect

protected psft.pt8.beans.ado.Connection connect()
                                         throws WavesetException
Deprecated. 
Throws:
WavesetException

stopConnection

protected void stopConnection()
Deprecated. 
Needs to be overridden by subclass if default createAccounts() implementation is used.

Overrides:
stopConnection in class ResourceAdapterBase

disconnect

protected void disconnect(psft.pt8.beans.ado.Connection connection)
Deprecated. 

dumpResult

protected void dumpResult(psft.pt8.beans.ma.MagResult result)
Deprecated. 

getUserInternal

protected WSUser getUserInternal(java.lang.String identity)
                          throws WavesetException
Deprecated. 
Throws:
WavesetException

getUser

public WSUser getUser(WSUser user)
               throws WavesetException
Deprecated. 
Retrieve information about an account, and package it as a WSUser object.

Information required to identify the resource account is supplied in another WSUser object.

The returned user object will resemble the source object, but will have its account attribute list filled in.

Returns "null" if there is no account that corresponds to the user.

Specified by:
getUser in interface ResourceAdapter
Overrides:
getUser in class ResourceAdapterBase
Throws:
WavesetException

checkCreateAccount

public WavesetResult checkCreateAccount(WSUser user)
                                 throws WavesetException
Deprecated. 
Checks to see if an account can be created. Some of the things that might be checked are as follows: - can basic connectivity to the resource be established? - Do the account attribute values comply with all (if any) resource specific restrictions or policies that haven't been checked at a higher level? Currently there are 3 check methods: checkCreateAccount, checkDeleteAccount and checkUpdate account. All three of these methods could be performing similar actions, such as ensuring that the resource is available. These common actions can be moved to a common function such as doBasicCheck() which any/all check methods could call. Then the individual check methods would do additional checks to ensure that user accounts can be added, modified or deleted. checkCreateAccount is not designed to ensure that the account creation will succeed, only that the likelyhood of success is good. checkCreateAccount does not need to check to see if the account already exists. The provisioner method will follow checkCreateAccount with a getUser call.

Specified by:
checkCreateAccount in interface ResourceAdapter
Specified by:
checkCreateAccount in class ResourceAdapterBase
Throws:
WavesetException

createAccounts

public WavesetResult createAccounts(WSUser[] users)
                             throws WavesetException
Deprecated. 
This being a READ ONLY resource, just put in success messages

Specified by:
createAccounts in interface ResourceAdapter
Overrides:
createAccounts in class ResourceAdapterBase
Throws:
WavesetException

deleteAccounts

public WavesetResult deleteAccounts(WSUser[] users)
                             throws WavesetException
Deprecated. 
Specified by:
deleteAccounts in interface ResourceAdapter
Overrides:
deleteAccounts in class ResourceAdapterBase
Throws:
WavesetException

disableAccounts

public WavesetResult disableAccounts(WSUser[] users)
                              throws WavesetException
Deprecated. 
Specified by:
disableAccounts in interface ResourceAdapter
Overrides:
disableAccounts in class ResourceAdapterBase
Throws:
WavesetException

realCreate

protected void realCreate(WSUser user,
                          WavesetResult result)
                   throws WavesetException
Deprecated. 
Create a new user account on the resource This method is called by createAccounts (the multiuser create method). CreateAccounts will open a connection, call realCreate for each user being created, then close the connection.

Overrides:
realCreate in class ResourceAdapterBase
Throws:
WavesetException

checkUpdateAccount

public WavesetResult checkUpdateAccount(WSUser user)
                                 throws WavesetException
Deprecated. 
Specified by:
checkUpdateAccount in interface ResourceAdapter
Specified by:
checkUpdateAccount in class ResourceAdapterBase
Throws:
WavesetException

realUpdate

protected void realUpdate(WSUser user,
                          WavesetResult result)
                   throws WavesetException
Deprecated. 
Description copied from class: ResourceAdapterBase
Needs to be overridden by subclass if default updateAccounts() implementation is used.

Overrides:
realUpdate in class ResourceAdapterBase
Throws:
WavesetException

checkDeleteAccount

public WavesetResult checkDeleteAccount(WSUser user)
                                 throws WavesetException
Deprecated. 
Specified by:
checkDeleteAccount in interface ResourceAdapter
Specified by:
checkDeleteAccount in class ResourceAdapterBase
Throws:
WavesetException

realDelete

protected void realDelete(WSUser user,
                          WavesetResult result)
                   throws WavesetException
Deprecated. 
Description copied from class: ResourceAdapterBase
Needs to be overridden by subclass if default deleteAccounts() implementation is used.

Overrides:
realDelete in class ResourceAdapterBase
Throws:
WavesetException

getAccountAttributes

public WSAttributes getAccountAttributes(java.lang.String accountIdentity)
                                  throws WavesetException
Deprecated. 
Description copied from interface: ResourceAdapter
This method is obsolete. ResourceAdapterBase provides a default implementation that throws a "not implemented" WavesetException.

Specified by:
getAccountAttributes in interface ResourceAdapter
Overrides:
getAccountAttributes in class ResourceAdapterBase
Throws:
WavesetException

getAccountIterator

public AccountIterator getAccountIterator()
                                   throws WavesetException
Deprecated. 
Specified by:
getAccountIterator in interface ResourceAdapter
Overrides:
getAccountIterator in class ResourceAdapterBase
Throws:
WavesetException

authenticate

public WavesetResult authenticate(java.util.HashMap loginInfo)
                           throws WavesetException
Deprecated. 
Authenticates the user against the resource. Return the authenticated id if authentication succeeds. The authenticate method is used to verify a user account and password are valid. If the user account name does not exist on the resource, the password does not match, or multiple matches exist, then throw an exception. If the resource has multiple contexts (for example LDAP or NDS), the authenticate method should not stop when it finds the first match, instead it should continue through the entire list. If it finds more than one match, then an exception should be thrown.

Specified by:
authenticate in interface ResourceAdapter
Specified by:
authenticate in class ResourceAdapterBase
Throws:
WavesetException

listAllObjects

public java.util.ArrayList listAllObjects(java.lang.String resourceObjectType,
                                          java.util.Map options,
                                          java.lang.String runAsUser,
                                          EncryptedData runAsPassword)
                                   throws WavesetException
Deprecated. 
Description copied from interface: ResourceAdapter
This method will return a list of object names of the specified object type. If you need to be able to specify which attrs to return, use listObjects instead

Specified by:
listAllObjects in interface ResourceAdapter
Overrides:
listAllObjects in class ResourceAdapterBase
Parameters:
resourceObjectType - - a type of object that is either well-known or is meaningful to the resource. Every resource is expected to recognize certain values. For example, listAllObjects(ACCOUNT) should return a list of all account names.
options - - a map of options
runAsUser - - (optional) if specified, connect as this user to list all objects of the specified type.
runAsPassword - - (optional) if specified, connect with this password to list all objects of the specified type.
Returns:
a list of all objects of a specified type.
Throws:
WavesetException

supportsAccountDisable

public boolean supportsAccountDisable()
Deprecated. 
If true, must implement realDisable() and realEnable(). See below.

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

realDisable

protected void realDisable(WSUser user,
                           WavesetResult result)
                    throws WavesetException
Deprecated. 
Disables a user, called within a connected context.

Overrides:
realDisable in class ResourceAdapterBase
Throws:
WavesetException

enableAccounts

public WavesetResult enableAccounts(WSUser[] users)
                             throws WavesetException
Deprecated. 
Specified by:
enableAccounts in interface ResourceAdapter
Overrides:
enableAccounts in class ResourceAdapterBase
Throws:
WavesetException

updateAccounts

public WavesetResult updateAccounts(WSUser[] users)
                             throws WavesetException
Deprecated. 
Specified by:
updateAccounts in interface ResourceAdapter
Overrides:
updateAccounts in class ResourceAdapterBase
Throws:
WavesetException

realEnable

protected void realEnable(WSUser user,
                          WavesetResult result)
                   throws WavesetException
Deprecated. 
Enables a user by setting adminLockout to false

Overrides:
realEnable in class ResourceAdapterBase
Throws:
WavesetException

getUsers

protected psft.pt8.beans.ma.MagResultProcess getUsers()
Deprecated. 

init

public void init()
          throws java.lang.Exception
Deprecated. 
Description copied from interface: ActiveSync
initialize yourself. throw exception if initialization failed

Specified by:
init in interface ActiveSync
Throws:
java.lang.Exception

shutdown

public void shutdown()
Deprecated. 
Description copied from interface: ActiveSync
shutdown

Specified by:
shutdown in interface ActiveSync

poll

public int poll()
Deprecated. 
Description copied from interface: ActiveSync
The poll method. Called at a configurable interval, this
  1. polls the remote resource for changes,
  2. converts them to IAPI calls, and
  3. posts them back to the server.

Specified by:
poll in interface ActiveSync
Returns:
0 if no work done, n if n calls processed.

callCompleted

public void callCompleted(com.waveset.adapter.iapi.IAPI call)
Deprecated. 

getAttributeValue

public java.lang.Object getAttributeValue(java.lang.String name)
                                   throws WavesetException
Deprecated. 
Description copied from interface: ActiveSync
Get or set an attribute value for the ActiveSync. Setting an attribute value only changes the in-memory copy of the attribute, not the persistent value. Set is typically only used for status or scheduling updates.

Specified by:
getAttributeValue in interface ActiveSync
Throws:
WavesetException

setAttributeValue

public void setAttributeValue(java.lang.String name,
                              java.lang.Object value)
                       throws WavesetException
Deprecated. 
Specified by:
setAttributeValue in interface ActiveSync
Throws:
WavesetException