I have the following security config (i.e. http channel requirements) for my webapp:
<bean id="channelProcessingFilter" class="org.acegisecurity.securechannel.ChannelProcessingFilter">
<property name="channelDecisionManager"><ref bean="channelDecisionManager"/>
<property name="filterInvocationDefinitionSource">
<value>
...
\A/.*.html\Z=REQUIRES_INSECURE_CHANNEL
</value>
</property>
</bean>
where all *.html URLs require http access (insecure channel). This explains why I’m seeing https requests switch to http. When I change the config to require https access (secure channel), then I can’t get to the page via http.
My questions is: Does anyone know if it’s possible to allow either http or https access?