The Oracle Commerce Platform includes a servlet bean named /atg/dynamo/droplet/ProtocolChange
. The ProtocolChange
servlet bean lets pages switch between secure and non-secure HTTP servers. The ProtocolChange
servlet bean takes a URL as input and renders a URL that uses either the HTTP protocol or the HTTPS protocol, depending on the output parameter specified. The default configuration is:
secureHost^=/atg/dynamo/Configuration.siteHttpServerName nonSecureHost^=/atg/dynamo/Configuration.siteHttpServerName securePort=443 nonSecurePort^=/atg/dynamo/Configuration.siteHttpServerPort secureProtocol=https nonSecureProtocol=http enable=false
When the enable property is false
, the servlet bean renders the URL without changing the protocol. To enable this servlet bean to change the protocol, set the enable
property to true
. Also, ensure that the secureHost
and securePort
properties are set to values appropriate for your sites.