ATG includes a servlet bean named /atg/dynamo/droplet/ProtocolChange. The ProtocolChange servlet bean lets pages switch between secure and nonsecure 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.


Copyright © 1997, 2012 Oracle and/or its affiliates. All rights reserved.

Legal Notices