| Niranjan Soni 2004-12-14, 6:53 pm |
| Hi All
I am currently migrating my WCS 5.1 application to WC 5.6 and having serious
problems understanding the accesscontrol model in WCS 5.6. I really don't
want to use any accesscontrol for my shoppers. I just want them to be able
to do everything in the store.
As i understand the migration utility automatically defines the access
control policies for the customized commands that i had written in WCS 5.1.
I can see my views defined under "AllSiteUserViews" and my commands under
"AllSiteUserCmdResourceGroup". It seems that things are working fine for my
views. But when it comes to customized commands, i get following error
[2004-11-15 09:10:19:531 CET] 330d6032 CommerceSrvr E AccManager isAllowed
CMN1501E: User 4700001 does not have the authority to perform action
"Execute"
on resource
"com.amivolite.registration.commands.AmivoLiteAddToBasketCmdImpl" for
command "AmivoLiteAddToBasketCmd".
[2004-11-15 09:10:19:531 CET] 330d6032 CommerceSrvr E Impl
accessControlCheck The user does not have the authority to run this command
"AmivoLiteAddToBasketCmd".
There is another strange thing here. The login to my site is through a
customized Login command called AmivoLiteLogonCmdImpl and this command seems
to be executed. The only difference here is that this command gets executed
under user -1002 (Guest user) because when the login page is displayed to
the user, there is specific user id supplied to the WebSphere Commernce.
From Login page onwards, i login to the site using user id 4700001 and then
unable to execute the customized commands.
Any help will be great
Many Thanks
Niranjan
|