|
||||||||||
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.PeopleSoftResourceAdapter
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 |
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 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_HOST
public static final java.lang.String RA_PORT
public static final java.lang.String RA_SSL
public static final java.lang.String RA_USER
public static final java.lang.String RA_PASSWORD
public static final java.lang.String RA_ACTIVITY
public static final java.lang.String RA_MESSAGE_DEFINITION
public static final java.lang.String RA_AUDIT_MESSAGE_DEFINITION
public static final java.lang.String PS_EMPLID
public static final java.lang.String LOGIN_USER
public static final java.lang.String LOGIN_PASSWORD
public static final java.lang.String DISPLAY_USER
public static final java.lang.String DISPLAY_PASSWORD
public static final java.lang.String RESOURCE_NAME
public static final java.lang.String RESOURCE_USER_FORM
Constructor Detail |
public PeopleSoftResourceAdapter(Resource res, ObjectCache cache)
public PeopleSoftResourceAdapter()
Method Detail |
public static Resource staticCreatePrototypeResource() throws WavesetException
WavesetException
public Resource createPrototypeResource() throws WavesetException
createPrototypeResource
in interface ResourceAdapter
createPrototypeResource
in class ResourceAdapterBase
WavesetException
protected WSAttribute reverseMapAttr(java.lang.String attr, java.lang.Object[] values)
protected WSAttribute reverseMapAttr(java.lang.String attr, java.lang.Object value)
protected void reverseMapMultiAttr(java.lang.String attr, java.lang.Object value, WSUser user)
protected int getIntRequiredResAttrVal(java.lang.String name) throws WavesetException, java.lang.NumberFormatException
WavesetException
java.lang.NumberFormatException
protected int getIntOptionalResAttrVal(java.lang.String name) throws WavesetException, java.lang.NumberFormatException
WavesetException
java.lang.NumberFormatException
protected void addAttrIfMapped(WSUser user, java.lang.String attrName, java.lang.Object value)
protected void addAttrIfMapped(WSUser user, java.lang.String attrName, java.lang.Object[] values)
protected WSUser makeWavesetUser(java.lang.String[] data, int offset, int width) throws WavesetException
data
- - the array of stringsoffset
- - 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
WavesetException
protected WSUser makeWavesetUser(java.util.Map ctUser) throws WavesetException
WavesetException
protected java.util.Map makePeopleSoftUser(WSUser wsUser, java.lang.String name, java.lang.String password, java.util.Map ctUser) throws WavesetException
WavesetException
protected void startConnection() throws WavesetException
startConnection
in class ResourceAdapterBase
WavesetException
protected psft.pt8.beans.ado.Connection connect() throws WavesetException
WavesetException
protected void stopConnection()
stopConnection
in class ResourceAdapterBase
protected void disconnect(psft.pt8.beans.ado.Connection connection)
protected void dumpResult(psft.pt8.beans.ma.MagResult result)
protected WSUser getUserInternal(java.lang.String identity) throws WavesetException
WavesetException
public WSUser getUser(WSUser user) throws WavesetException
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.
getUser
in interface ResourceAdapter
getUser
in class ResourceAdapterBase
WavesetException
public WavesetResult checkCreateAccount(WSUser user) throws WavesetException
checkCreateAccount
in interface ResourceAdapter
checkCreateAccount
in class ResourceAdapterBase
WavesetException
public WavesetResult createAccounts(WSUser[] users) throws WavesetException
createAccounts
in interface ResourceAdapter
createAccounts
in class ResourceAdapterBase
WavesetException
public WavesetResult deleteAccounts(WSUser[] users) throws WavesetException
deleteAccounts
in interface ResourceAdapter
deleteAccounts
in class ResourceAdapterBase
WavesetException
public WavesetResult disableAccounts(WSUser[] users) throws WavesetException
disableAccounts
in interface ResourceAdapter
disableAccounts
in class ResourceAdapterBase
WavesetException
protected void realCreate(WSUser user, WavesetResult result) throws WavesetException
realCreate
in class ResourceAdapterBase
WavesetException
public WavesetResult checkUpdateAccount(WSUser user) throws WavesetException
checkUpdateAccount
in interface ResourceAdapter
checkUpdateAccount
in class ResourceAdapterBase
WavesetException
protected void realUpdate(WSUser user, WavesetResult result) throws WavesetException
ResourceAdapterBase
realUpdate
in class ResourceAdapterBase
WavesetException
public WavesetResult checkDeleteAccount(WSUser user) throws WavesetException
checkDeleteAccount
in interface ResourceAdapter
checkDeleteAccount
in class ResourceAdapterBase
WavesetException
protected void realDelete(WSUser user, WavesetResult result) throws WavesetException
ResourceAdapterBase
realDelete
in class ResourceAdapterBase
WavesetException
public WSAttributes getAccountAttributes(java.lang.String accountIdentity) throws WavesetException
ResourceAdapter
getAccountAttributes
in interface ResourceAdapter
getAccountAttributes
in class ResourceAdapterBase
WavesetException
public AccountIterator getAccountIterator() throws WavesetException
getAccountIterator
in interface ResourceAdapter
getAccountIterator
in class ResourceAdapterBase
WavesetException
public WavesetResult authenticate(java.util.HashMap loginInfo) throws WavesetException
authenticate
in interface ResourceAdapter
authenticate
in class ResourceAdapterBase
WavesetException
public java.util.ArrayList listAllObjects(java.lang.String resourceObjectType, java.util.Map options, java.lang.String runAsUser, EncryptedData runAsPassword) throws WavesetException
ResourceAdapter
listAllObjects
in interface ResourceAdapter
listAllObjects
in class ResourceAdapterBase
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 optionsrunAsUser
- - (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.
WavesetException
public boolean supportsAccountDisable()
supportsAccountDisable
in interface ResourceAdapter
supportsAccountDisable
in class ResourceAdapterBase
protected void realDisable(WSUser user, WavesetResult result) throws WavesetException
realDisable
in class ResourceAdapterBase
WavesetException
public WavesetResult enableAccounts(WSUser[] users) throws WavesetException
enableAccounts
in interface ResourceAdapter
enableAccounts
in class ResourceAdapterBase
WavesetException
public WavesetResult updateAccounts(WSUser[] users) throws WavesetException
updateAccounts
in interface ResourceAdapter
updateAccounts
in class ResourceAdapterBase
WavesetException
protected void realEnable(WSUser user, WavesetResult result) throws WavesetException
realEnable
in class ResourceAdapterBase
WavesetException
protected psft.pt8.beans.ma.MagResultProcess getUsers()
public void init() throws java.lang.Exception
ActiveSync
init
in interface ActiveSync
java.lang.Exception
public void shutdown()
ActiveSync
shutdown
in interface ActiveSync
public int poll()
ActiveSync
poll
in interface ActiveSync
public void callCompleted(com.waveset.adapter.iapi.IAPI call)
public java.lang.Object getAttributeValue(java.lang.String name) throws WavesetException
ActiveSync
getAttributeValue
in interface ActiveSync
WavesetException
public void setAttributeValue(java.lang.String name, java.lang.Object value) throws WavesetException
setAttributeValue
in interface ActiveSync
WavesetException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |