This was encrypting the URL parameters required by BazaarVoice into a "krypto" parameter. And when after login, the page redirects back to ProductDetail page, the BazaarVoice section on the page just wouldn't display.
To overcome this, certain parameters required by BazaarVoice had to be unencrypted and part of the URL parameter.
To achieve this, open the wc-server.xml file which is generally found at C:\WCToolkitEE60\xml\config where C:\WCToolkitEE60 is the websphere commerce toolkit installation path. Search for NonEncryptedParameters XML attribute in the file. In this section of the xml, we define all the parameters that should not be encrypted by WCS over a secure connection.
<NonEncryptedParameters>
<Parameter display="true" name="user"/>
<Parameter display="true" name="bvpage"/>
<Parameter display="true" name="return"/>
</NonEncryptedParameters><Parameter display="true" name="bvpage"/>
<Parameter display="true" name="return"/>
Having this will ensure that WCS doesn't encrypt the listed parameters. All the NonEncryptedParameters are appended to the beginning of the URL.
Nice blog! Lots of great content on it. Thanks for sharing.
ReplyDelete