1.web-inf/deployerconfigcontext.xml
in <bean class = " Org.jasig.cas.authentication.handler.support.HttpBasedServiceCredentialsAuthenticationHandler "P:httpclient-ref = "HttpClient"/>
increase the parameter p:requiresecure= "False ", whether security authentication is required, that is , HTTPS , false is not used as follows:
<bean class = "Org.jasig.cas.authentication.handler.support.HttpBasedServiceCredentialsAuthenticationHandler" p : Httpclient-ref = "HttpClient" p:requiresecure= "false"/>
2.web-inf/spring-configuration/ticketgrantingticketcookiegenerator.xml
Modify p:cookiesecure= "true" to p:cookiesecure= "false" , that is, no security cookie is required
The following sections:
<bean id = "Ticketgrantingticketcookiegenerator" class = " Org.jasig.cas.web.support.CookieRetrievingCookieGenerator "
P:cookiesecure = "false"
P:cookiemaxage = "-1"
P:cookiename = "CASTGC"
P:cookiepath = "/cas"/>
3.web-inf\spring-configuration\warncookiegenerator.xml
Modify p:cookiesecure= "true" to p:cookiesecure= "false" , that is, no security cookie is required
The results are as follows:
<bean id = "Warncookiegenerator" class = "Org.jasig.cas.web.support.CookieRetrievingCookieGenerator"
P:cookiesecure = "false"
P:cookiemaxage = "-1"
P:cookiename = "Casprivacy"
P:cookiepath = "/cas"/>
4. Modify The https of the serviceId under Services/apereo-10000002.json Change to http
5. Modify The serviceId of the services/services\httpsandimaps-10000001.json below HTTPS changed to http
client Tomcat modifies login-tomcat-8.0.12\webapps\examples\web-inf\web.xml and Blog-tomcat-8.0.12\webapps\examples\web-inf\web.xml
Modify The port number to HTTP and relative
The access addresses were:
Http://login.hacker.org:18080/examples/servlets/servlet/HelloWorldExample
Http://blog.hacker.org:28080/examples/servlets/servlet/HelloWorldExample
Http://server.hacker.org:8080/cas/logout
Three. Cancel HTTPS, direct HTTP access