WebSphere Commerce suite - Authenticating against a CRM system and migrating external account info to WCS

This is Interesting: Free IT Magazines  
Home > Archive > WebSphere Commerce suite > June 2004 > Authenticating against a CRM system and migrating external account info to WCS





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Authenticating against a CRM system and migrating external account info to WCS
Marc

2004-06-09, 4:51 pm

Hi all,

I would like to start off by stating that I have no prior development
experience with WCS. That being said,
I was recently assigned to work on integrating the standard WCS
login/registration process with our CRM system.
In brief, the business case for this is that our site already has a
'My Account' section and many of our users will
already have an active account in our CRM system. As a result, we
would like to hide or disable the WCS
registration form to avoid a situation where a user would have both
site credentials and store credentials. Store users
should therefore be able to make a purchase as Guest, or after logging
in with the credentials stored in our CRM system

My Approach Thus Far

The approach I have devised so far is to set the authentication to
other, to force the LogonCmd to invoke the
ThirdPartyAuthenticationCmd. Within tmy implementation of the
ThirdPartyAuthenticationCmd, I would then authenticate
against our CRM system. Upon success, the following conditions would
apply upon somehow testing for the existence of a
userreg entry in the database for that user:

1- Entry has not yet been migrated to WCS:

Invoke the UserRegistrationAddCmd to register the user info using the
CRM record

2- Entry exists, but is out of sync with CRM entry

Invoke the UserRegistrationUpdate to update the user

3- Entry exists and is up to date

set the authenticateUserId flag and continue on my merry way


Upon preliminary testing, I encountered a problem where setting
authentication to other affected the Accellerator site as well. I'm
hoping I can somehow use the concepts in this article

http://www-106.ibm.com/developerwor...al/khusial.html

to allow admin users to auth against the database and store users to
use my custom routine.


I would appreciate any comments on my proposed implementation. As I
mentionned, I have no experience working in this environment
and can't help but feel that I'm not understanding all the
ramifications of these changes, let alone if this is at all feasible.
I would also appreciate any links to articles or suggestions on books
that deal with this. I have scoured the standard online documentation
and newsgroups and have
only found bits and pieces of information so far.

Thanks in advance,

-Marc
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com