public interface LDAPIntegrationCmd extends TaskCommand
The following methods are called by SyncBeanBase
:
postCreateInLDAPProcessing(com.ibm.commerce.member.syncbeans.SyncBeanBase)
postRefreshFromLDAPProcessing(com.ibm.commerce.member.syncbeans.SyncBeanBase)
postUpdateInLDAPProcessing(com.ibm.commerce.member.syncbeans.SyncBeanBase)
UserSyncBean.initDOs()
The following method is called from OrganizationSyncBean#initDOs
The following method is called from LogonCmdImpl
:
The following methods are called from the single sign-on code: Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT
The copyright field.
|
static java.lang.String |
defaultCommandClassName
The default command implementation class.
|
static java.lang.String |
NAME
The command name.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getCommerceDN(java.lang.String astrLDAPDN,
commonj.sdo.DataObject adoMember)
Returns the Commerce DN that corresponds to a specified LDAP DN.
|
java.lang.String |
getLDAPDN(java.lang.String astrCommerceDN)
Returns the LDAP DN that corresponds to a specified Commerce DN.
|
java.lang.String |
getLDAPDNFromSingleSignOnTokenForWeb(javax.servlet.http.HttpServletRequest request)
This method is called in single sign on scenarios from web requests.
|
java.lang.String |
getLDAPDNFromSingleSignOnTokenForWebServices(java.lang.String ssoToken)
This method is called in single sign on scenarios from web services requests.
|
java.util.Vector |
getOrganizationDOs()
Returns a vector of sync helper data object classes that correspond to
OrganizationSyncBean . |
java.util.Vector |
getUserDOs()
Returns a vector of sync helper data object classes that correspond to
UserSyncBean . |
void |
postCreateInLDAPProcessing(SyncBeanBase aSyncBean)
This method is called when an entry is being created in LDAP based on Commerce data.
|
void |
postLogonProcessing(UserAccessBean aUserAccessBean)
This method is called from
LogonCmdImpl , when the authentication mode is set to LDAP, and
the authentication is successful. |
void |
postRefreshFromLDAPProcessing(SyncBeanBase aSyncBean)
This method is called when an entry in Commerce is being refreshed with LDAP data.
|
void |
postSingleSignOnProcessing(UserSyncBean aUserSyncBean)
This method is called after single sign-on has taken place.
|
void |
postUpdateInLDAPProcessing(SyncBeanBase aSyncBean)
This method is called when an entry in LDAP is being updated with Commerce data.
|
executeFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, updateCache
getCommandTarget, getCommandTargetName, hasOutputProperties, performExecute, setCommandTarget, setCommandTargetName, setOutputProperties
checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, performExecute, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties, validateParameters
static final java.lang.String COPYRIGHT
static final java.lang.String NAME
static final java.lang.String defaultCommandClassName
java.lang.String getCommerceDN(java.lang.String astrLDAPDN, commonj.sdo.DataObject adoMember) throws ECException
astrLDAPDN
- The LDAP DN.adoMember
- The entity data object corresponding to the member.ECException
- Thrown if an error occurs.java.lang.String getLDAPDN(java.lang.String astrCommerceDN) throws ECException
astrCommerceDN
- The Commerce DN.ECException
- Thrown if an error occurs.java.util.Vector getUserDOs()
UserSyncBean
.
These data object classes each correspond to a Commerce database table, and are used for
reading from and writing to that table. You have the option of removing Data Object classes for
tables that you don't want to be synchronized, and also adding a new Data Object class for your own
custom database table that you wish to be synchronized.UserSyncBean
.java.util.Vector getOrganizationDOs()
OrganizationSyncBean
.
These Data Object classes each correspond to a Commerce database table, and are used for
reading from and writing to that table. You have the option of removing Data Object classes for tables
that you don't want to be synchronized, and also adding a new Data Object class for your own custom
database table that you wish to be synchronized.UserSyncBean
.void postLogonProcessing(UserAccessBean aUserAccessBean) throws ECException
LogonCmdImpl
, when the authentication mode is set to LDAP, and
the authentication is successful. It is provided to allow extra synchronization between the
Commerce database and LDAP if it's needed. The default logic is to do nothing.
aUserAccessBean
- The user that has authenticated.ECException
- Thrown if an error occurs.void postSingleSignOnProcessing(UserSyncBean aUserSyncBean) throws ECException
The default logic is to do nothing.
aUserSyncBean
- Contains information about the user that has authenticated.ECException
- Thrown if an error occurs.void postCreateInLDAPProcessing(SyncBeanBase aSyncBean) throws ECException
The default logic is to do nothing.
aSyncBean
- Contains information about the object that is being synchronized.ECException
- Thrown if an error occurs.void postUpdateInLDAPProcessing(SyncBeanBase aSyncBean) throws ECException
The default logic is to do nothing.
aSyncBean
- Contains information about the object that is being synchronized.ECException
- Thrown if an error occurs.void postRefreshFromLDAPProcessing(SyncBeanBase aSyncBean) throws ECException
The default logic is to do nothing.
aSyncBean
- Contains information about the object that is being synchronized.ECException
- Thrown if an error occurs.java.lang.String getLDAPDNFromSingleSignOnTokenForWeb(javax.servlet.http.HttpServletRequest request) throws ECException
request
- The http request object of the current request.ECException
- Thrown if an error occurs.java.lang.String getLDAPDNFromSingleSignOnTokenForWebServices(java.lang.String ssoToken) throws ECException
ssoToken
- The single sign on tokenECException
- Thrown if an error occurs.