|
||||||||||
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.LDAPResourceAdapterBase
com.waveset.adapter.LDAPResourceAdapter
com.waveset.adapter.SiteminderLDAPResourceAdapter
Nested Class Summary |
Nested classes inherited from class com.waveset.adapter.LDAPResourceAdapterBase |
LDAPResourceAdapterBase.AcctIter, LDAPResourceAdapterBase.BlockAcctIter, LDAPResourceAdapterBase.UpdateRow, LDAPResourceAdapterBase.UpdateRows, LDAPResourceAdapterBase.VLVAcctIter |
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 |
AA_STATUS_FLAGS
Account Attribute name for the field used to get/set pwd expired/unexpired and enable/disable user |
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_AUTH_VAR
Resource attribute name for auth variable. |
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_DISABLED_FLAG
|
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 |
SITE_MINDER_USERDN
|
Fields inherited from class com.waveset.adapter.LDAPResourceAdapter |
RA_ENABLE_PASSWORD_SYNC, RA_FILTER_CHANGES_BY, RA_LDAP_ACTIVATION, RA_LDAP_ACTIVATION_PARM, RA_OR_SEARCH_PARAMS_FILTER, RA_PASSWORD_ENCRYPTION_IV, RA_PASSWORD_ENCRYPTION_KEY, RA_PASSWORD_HASH_ALG |
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 | |
SiteminderLDAPResourceAdapter()
|
|
SiteminderLDAPResourceAdapter(Resource res,
ObjectCache cache)
|
Method Summary | |
WavesetResult |
authenticate(java.util.HashMap loginInfo)
Authenticates the user against the resource. |
Resource |
createPrototypeResource()
|
WSUser |
getUser(WSUser user)
To support returning password enable/disable attribute, need to get user and translate Siteminder flag |
java.util.List |
listObjects(java.lang.String objectType,
java.util.Map options)
Returns a list of objects matching the requested objectType and options |
protected void |
modifyDisabledFlag(WSUser user,
java.lang.String action,
WavesetResult result)
Deprecated. replaced by modifyStatusFlags(WSUser,String,WavesetResult) . |
protected void |
modifyStatusFlags(WSUser user,
java.lang.String action,
WavesetResult result)
Modifies/Adds Siteminder User Disabled Flag Attribute |
protected void |
realCreate(WSUser user,
WavesetResult result)
Need to convert password expire attribute, if sent, before creation. |
protected void |
realDisable(WSUser user,
WavesetResult result)
Sets LDAP attribute that is mapped to Siteminder Disabled Flag and ResourceInfo Disabled 'true' |
protected void |
realEnable(WSUser user,
WavesetResult result)
Sets LDAP attribute that is mapped to Siteminder Disabled Flag and ResourceInfo Disabled 'false' |
protected void |
realUpdate(WSUser user,
WavesetResult result)
Need to convert password expire attribute, if sent, before update. |
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. |
Methods inherited from class com.waveset.adapter.LDAPResourceAdapter |
addAttributes, getAccountActivator |
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_DISABLED_FLAG
public static final java.lang.String SITE_MINDER_USERDN
protected SiteminderUtil _smu
public static final java.lang.String RA_AUTH_VAR
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 AA_STATUS_FLAGS
Constructor Detail |
public SiteminderLDAPResourceAdapter(Resource res, ObjectCache cache)
public SiteminderLDAPResourceAdapter()
Method Detail |
public static Resource staticCreatePrototypeResource() throws WavesetException
WavesetException
public Resource createPrototypeResource() throws WavesetException
createPrototypeResource
in interface ResourceAdapter
createPrototypeResource
in class LDAPResourceAdapter
WavesetException
public WavesetResult authenticate(java.util.HashMap loginInfo) throws WavesetException
ResourceAdapter
authenticate
in interface ResourceAdapter
authenticate
in class LDAPResourceAdapterBase
WavesetException
public WSUser getUser(WSUser user) throws WavesetException
getUser
in interface ResourceAdapter
getUser
in class LDAPResourceAdapterBase
user
-
WavesetException
protected void realCreate(WSUser user, WavesetResult result) throws WavesetException
realCreate
in class LDAPResourceAdapterBase
user
- result
-
WavesetException
protected void realUpdate(WSUser user, WavesetResult result) throws WavesetException
realUpdate
in class LDAPResourceAdapterBase
user
- result
-
WavesetException
protected void realEnable(WSUser user, WavesetResult result) throws WavesetException
realEnable
in class LDAPResourceAdapterBase
user
- the user to Enableresult
-
WavesetException
- if ENABLED failsprotected void realDisable(WSUser user, WavesetResult result) throws WavesetException
realDisable
in class LDAPResourceAdapterBase
user
- the user to Disableresult
-
WavesetException
- if DISABLED failsprotected void modifyDisabledFlag(WSUser user, java.lang.String action, WavesetResult result) throws WavesetException
modifyStatusFlags(WSUser,String,WavesetResult)
.
user
- the user to Disableaction
- (disable, enable, pwdExpire, pwdUnExp)result
-
WavesetException
protected void modifyStatusFlags(WSUser user, java.lang.String action, WavesetResult result) throws WavesetException
user
- the user to Disableaction
- (disable, enable, pwdExpire, pwdUnExp)result
-
WavesetException
public java.util.List listObjects(java.lang.String objectType, java.util.Map options) throws WavesetException
LDAPResourceAdapterBase
listObjects
in interface ResourceAdapter
listObjects
in class LDAPResourceAdapterBase
objectType
- -
the name of a valid object class for this specified "resId".options
- -
several options can be specified which control the behavior of
the search. They include:
WavesetException
public boolean supportsAccountDisable()
supportsAccountDisable
in interface ResourceAdapter
supportsAccountDisable
in class LDAPResourceAdapterBase
protected void startConnection() throws WavesetException
ResourceAdapterBase
startConnection
in class LDAPResourceAdapterBase
WavesetException
protected void stopConnection() throws WavesetException
ResourceAdapterBase
stopConnection
in class LDAPResourceAdapterBase
WavesetException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |