|
||||||||||
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.PeopleSoftComponentResourceAdapterBase
Component Name: com.waveset.adapter.PeopleSoftComponentResourceAdapterBase
Description: Author(s): Dave Hildebrand (C) COPYRIGHT Waveset Technologies, Inc. 2000 Unpublished Work All Rights Reserved Licensed Material - Property of Waveset Technologies, Inc.
Nested Class Summary |
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 | |
protected psft.pt8.joa.ISession |
_connection
Our connection to PeopleSoft. |
static java.lang.String |
code_id
|
static java.lang.String |
DISPLAY_PASSWORD
|
static java.lang.String |
DISPLAY_USER
|
static java.lang.String |
LOGIN_PASSWORD
|
static java.lang.String |
LOGIN_USER
Pass thru authentication variables. |
static java.lang.String |
RA_HOST
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_PASSWORD
|
static java.lang.String |
RA_PORT
The port on which to communicate to the resource. |
static java.lang.String |
RA_USER
The account name, group and role used to connect to the resource. |
static java.lang.String |
RESOURCE_NAME
|
static java.lang.String |
RESOURCE_USER_FORM
|
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 | |
PeopleSoftComponentResourceAdapterBase()
|
|
PeopleSoftComponentResourceAdapterBase(Resource res,
ObjectCache cache)
|
Method Summary | |
WavesetResult |
authenticate(java.util.HashMap loginInfo)
Authenticates the user against the resource. |
WavesetResult |
checkCreateAccount(WSUser user)
|
WavesetResult |
checkDeleteAccount(WSUser user)
|
WavesetResult |
checkUpdateAccount(WSUser user)
|
protected psft.pt8.joa.ISession |
connect()
|
protected void |
disconnect(psft.pt8.joa.ISession session)
|
WSUser |
getUser(WSUser user)
Retrieve information about an account, and package it as a WSUser object. |
protected abstract WSUser |
getUserInternal(java.lang.String identity)
|
protected WSUser |
makeWavesetUser(psft.pt8.joa.IObject fetchedUser,
java.lang.String keyAttrName)
Make a waveset user from a fetched component interface, mapping all available fields from the schema map. |
protected void |
startConnection()
Needs to be overridden by subclass if default createAccounts() implementation is used. |
protected void |
stopConnection()
Needs to be overridden by subclass if default createAccounts() implementation is used. |
protected WavesetResult |
testComponentInterface()
|
WavesetResult |
testConfiguration()
Method called when the "test connection" button of menu item is hit on the adapter. |
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_USER
public static final java.lang.String RA_PASSWORD
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
protected psft.pt8.joa.ISession _connection
Constructor Detail |
public PeopleSoftComponentResourceAdapterBase(Resource res, ObjectCache cache)
public PeopleSoftComponentResourceAdapterBase()
Method Detail |
protected WSUser makeWavesetUser(psft.pt8.joa.IObject fetchedUser, java.lang.String keyAttrName) throws psft.pt8.joa.JOAException
psft.pt8.joa.JOAException
protected abstract 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 checkUpdateAccount(WSUser user) throws WavesetException
checkUpdateAccount
in interface ResourceAdapter
checkUpdateAccount
in class ResourceAdapterBase
WavesetException
public WavesetResult checkDeleteAccount(WSUser user) throws WavesetException
checkDeleteAccount
in interface ResourceAdapter
checkDeleteAccount
in class ResourceAdapterBase
WavesetException
public WavesetResult authenticate(java.util.HashMap loginInfo) throws WavesetException
ResourceAdapter
authenticate
in interface ResourceAdapter
authenticate
in class ResourceAdapterBase
WavesetException
protected void startConnection() throws WavesetException
ResourceAdapterBase
startConnection
in class ResourceAdapterBase
WavesetException
protected void stopConnection()
stopConnection
in class ResourceAdapterBase
protected psft.pt8.joa.ISession connect() throws WavesetException
WavesetException
protected void disconnect(psft.pt8.joa.ISession session)
public WavesetResult testConfiguration() throws WavesetException
testConfiguration
in interface ResourceAdapter
testConfiguration
in class ResourceAdapterBase
WavesetException
protected WavesetResult testComponentInterface()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |