Announcement Announcement Module
Collapse
No announcement yet.
can i switch http and https? Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • can i switch http and https?

    hi.
    i operate web site that used to certificate.
    the certificate issued from godaddy.

    first all, i only used https service on last month.
    In this case, there was no problem.

    However, according to our policy changes of the site to use both.(https and http).
    So i used 'spring-security framework' and test ok(me and our office).
    So running was applied to the site.

    When used http and https, i recieved mail from customers.
    the contents is below.
    ---------------------------
    i can't view my cart.
    --------------------------

    Associated with the order page using https and http Use the remaining pages.

    Some customers order by clicking the page associated with the index is rediction away.

    how can i fixed it?
    Certificate is wrong?

    i will wait your advice. thanks,

    Below is our web.xml and security-conext.xml using spring-security
    ----------------------------------------------------------------------------------
    web.xml
    <listener>
    <listener-class>org.springframework.web.context.ContextLoade rListener</listener-class>
    </listener>

    <context-param>
    <param-name>contextConfigLocation</param-name>
    <param-value>/WEB-INF/springsecurity-context.xml</param-value>
    </context-param>

    <filter>
    <filter-name>springSecurityFilterChain</filter-name>
    <filter-class>org.springframework.web.filter.DelegatingFil terProxy</filter-class>
    </filter>

    <filter-mapping>
    <filter-name>springSecurityFilterChain</filter-name>
    <url-pattern>/*</url-pattern>
    </filter-mapping>


    springsecurity-context.xml
    <?xml version="1.0" encoding="UTF-8"?>
    <beans:beans xmlns="http://www.springframework.org/schema/security"
    xmlns:beans="http://www.springframework.org/schema/beans"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schem...-beans-3.0.xsd
    http://www.springframework.org/schema/security http://www.springframework.org/schema/security/spring-security-3.1.xsd">

    <global-method-security pre-post-annotations="enabled" />
    <debug />
    <http use-expressions="true" auto-config="true">
    <intercept-url pattern="/myaccount/*.do" requires-channel="https"/>
    <intercept-url pattern="/order/*.do" requires-channel="https"/>
    <intercept-url pattern="/login*.do" requires-channel="https"/>
    <intercept-url pattern="/index.do" requires-channel="http"/>
    <intercept-url pattern="/product/*.do" requires-channel="http"/>
    <intercept-url pattern="/support/*.do" requires-channel="http"/>
    <session-management session-fixation-protection="none"/>
    </http>

    <authentication-manager></authentication-manager>
    </beans:beans>

    thanks.
Working...
X