|
||||||||||
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.SiteminderAdminResourceAdapter
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 SiteminderUtil |
_smu
|
static java.lang.String |
code_id
|
static java.lang.String |
RA_ACCOUNTING_PORT
Resource attribute name for the SM Authorization server port. |
static java.lang.String |
RA_AUTHENT_PORT
Resource attribute name for the SM Authentication server port. |
static java.lang.String |
RA_AUTHOR_PORT
Resource attribute name for the SM Authorization server port. |
static java.lang.String |
RA_CONMAX
Resource attribute name for the SM Connection Max. |
static java.lang.String |
RA_CONMIN
Resource attribute name for the SM Connection Min. |
static java.lang.String |
RA_CONSTEP
Resource attribute name for the SM Connection Step. |
static java.lang.String |
RA_CUSTOM_AGENT
Resource attribute name for the SM Authorization server port. |
static java.lang.String |
RA_CUSTOM_AGENT_SHARED_SECRET
Resource attribute name for the SM Authentication server port. |
static java.lang.String |
RA_POL_SERVER
Resource attribute name for SM policy server ip. |
static java.lang.String |
RA_SMADMIN
Resource attribute name for admin account. |
static java.lang.String |
RA_SMPASSWORD
Resource attribute name for the admin password. |
static java.lang.String |
RA_TIMEOUT
Resource attribute name for the SM Authentication server port. |
static java.lang.String |
SM_DOMAIN
|
static java.lang.String |
SM_EXTERNALDIR
|
static java.lang.String |
SM_SITEMINDERDB
|
static java.lang.String |
SM_SYSTEM
|
static java.lang.String |
SMADMIN_ADMINAUTH
|
static java.lang.String |
SMADMIN_ADMINDOMAIN
|
static java.lang.String |
SMADMIN_AUTHSCHEME
|
static java.lang.String |
SMADMIN_DESCR
|
static java.lang.String |
SMADMIN_DOMAIN
|
static java.lang.String |
SMADMIN_HOSTS
|
static java.lang.String |
SMADMIN_KEYSPWD
|
static java.lang.String |
SMADMIN_REPORTS
|
static java.lang.String |
SMADMIN_SCOPE
|
static java.lang.String |
SMADMIN_SYSTEMDOMAIN
|
static java.lang.String |
SMADMIN_USERDIR
|
static java.lang.String |
SMADMIN_USERS
|
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 | |
SiteminderAdminResourceAdapter()
|
|
SiteminderAdminResourceAdapter(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)
|
Resource |
createPrototypeResource()
|
protected void |
createUpdateSmAdmin(java.lang.String adminName,
java.lang.String action,
WSUser user,
Resource _resource)
|
protected WSUser |
getSmAdminAttributes(java.lang.String adminName)
|
WSUser |
getUser(WSUser user)
Retrieves account information from the resource for the specified WSUser and returns a new WSUser based on the information from the resource. |
java.util.ArrayList |
listAllObjects(java.lang.String resourceObjectType,
java.util.Map options,
java.lang.String runAsUser,
EncryptedData runAsPassword)
This method will return a list of object names of the specified object type. |
java.util.List |
listObjects(java.lang.String objectType,
java.util.Map options)
Default implementation calls older method listAllObjects(String, Map, String, EncryptedData) , which
does not support newer options (such as "searchContext" or
"searchFilter"). |
protected void |
realCreate(WSUser user,
WavesetResult result)
Needs to be overridden by subclass if default createAccounts() implementation is used. |
protected void |
realDelete(WSUser user,
WavesetResult result)
Needs to be overridden by subclass if default deleteAccounts() implementation is used. |
protected void |
realUpdate(WSUser user,
WavesetResult result)
Needs to be overridden by subclass if default updateAccounts() implementation is used. |
protected com.netegrity.sdk.policyapi.SmAdmin |
setSmAdminAttributes(com.netegrity.sdk.policyapi.SmAdmin admin,
java.lang.String action,
WSUser user,
Resource _resource)
|
protected void |
startConnection()
Needs to be overridden by subclass if default createAccounts() implementation is used. |
static Resource |
staticCreatePrototypeResource()
|
protected void |
stopConnection()
Needs to be overridden by subclass if default createAccounts() implementation is used. |
boolean |
supportsAccountDisable()
Whether the resource can enable and disable accounts. |
protected WavesetResult |
testConnection(WavesetResult result)
|
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
protected SiteminderUtil _smu
public static final java.lang.String SMADMIN_DESCR
public static final java.lang.String SMADMIN_ADMINAUTH
public static final java.lang.String SMADMIN_ADMINDOMAIN
public static final java.lang.String SMADMIN_USERDIR
public static final java.lang.String SMADMIN_AUTHSCHEME
public static final java.lang.String SMADMIN_SCOPE
public static final java.lang.String SMADMIN_SYSTEMDOMAIN
public static final java.lang.String SMADMIN_DOMAIN
public static final java.lang.String SMADMIN_USERS
public static final java.lang.String SMADMIN_KEYSPWD
public static final java.lang.String SMADMIN_REPORTS
public static final java.lang.String SMADMIN_HOSTS
public static final java.lang.String RA_SMADMIN
public static final java.lang.String RA_SMPASSWORD
public static final java.lang.String RA_POL_SERVER
public static final java.lang.String RA_AUTHOR_PORT
public static final java.lang.String RA_AUTHENT_PORT
public static final java.lang.String RA_ACCOUNTING_PORT
public static final java.lang.String RA_TIMEOUT
public static final java.lang.String RA_CUSTOM_AGENT
public static final java.lang.String RA_CUSTOM_AGENT_SHARED_SECRET
public static final java.lang.String RA_CONMIN
public static final java.lang.String RA_CONMAX
public static final java.lang.String RA_CONSTEP
public static final java.lang.String SM_SYSTEM
public static final java.lang.String SM_DOMAIN
public static final java.lang.String SM_SITEMINDERDB
public static final java.lang.String SM_EXTERNALDIR
Constructor Detail |
public SiteminderAdminResourceAdapter(Resource res, ObjectCache cache)
public SiteminderAdminResourceAdapter()
Method Detail |
public static Resource staticCreatePrototypeResource() throws WavesetException
WavesetException
public Resource createPrototypeResource() throws WavesetException
createPrototypeResource
in interface ResourceAdapter
createPrototypeResource
in class ResourceAdapterBase
WavesetException
public WSUser getUser(WSUser user) throws WavesetException
ResourceAdapter
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
protected void realCreate(WSUser user, WavesetResult result) throws WavesetException
ResourceAdapterBase
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 WavesetResult authenticate(java.util.HashMap loginInfo) throws WavesetException
ResourceAdapter
authenticate
in interface ResourceAdapter
authenticate
in class ResourceAdapterBase
WavesetException
protected WavesetResult testConnection(WavesetResult result) throws WavesetException
WavesetException
protected void startConnection() throws WavesetException
ResourceAdapterBase
startConnection
in class ResourceAdapterBase
WavesetException
protected void stopConnection() throws WavesetException
ResourceAdapterBase
stopConnection
in class ResourceAdapterBase
WavesetException
public java.util.List listObjects(java.lang.String objectType, java.util.Map options) throws WavesetException
ResourceAdapterBase
ResourceAdapterBase.listAllObjects(String, Map, String, EncryptedData)
, which
does not support newer options (such as "searchContext" or
"searchFilter").
Each ResourceAdapter subclass should override this default implementation as soon as possible with an implementation that supports the options specified in {#listObjects(ObjectType, Map)}.
listObjects
in interface ResourceAdapter
listObjects
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(ObjectType.ACCOUNT, null, null, null)
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
protected com.netegrity.sdk.policyapi.SmAdmin setSmAdminAttributes(com.netegrity.sdk.policyapi.SmAdmin admin, java.lang.String action, WSUser user, Resource _resource) throws WavesetException
WavesetException
protected void createUpdateSmAdmin(java.lang.String adminName, java.lang.String action, WSUser user, Resource _resource) throws WavesetException
WavesetException
protected WSUser getSmAdminAttributes(java.lang.String adminName) throws WavesetException
WavesetException
public boolean supportsAccountDisable()
supportsAccountDisable
in interface ResourceAdapter
supportsAccountDisable
in class ResourceAdapterBase
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |