I have successfully run the contact-cas example on my http:localhost:8080/contacts-cas. url. However when I intend to make a change on the URL via the applicationContext.xml file. I changed all the localhost into something like. https:richardxxx.xx.com:8443/.... from https:localhost:8443/... After I remake the warfile and deploy it to tomcat. I use the URL:http://richardxxx.xx.com:8080/contact-cas to access the example. I have been redirect to CAS server, after I fill the login page. The program told me the https server name is wrong. This is a strange error, because in the applicationContext.xml file I have changed all the localhost to richardxxx.xx.com. which should have settle the problem.
I dont' know what to do now. I have to change it back to localhost. Is there anything I did wrong so I can not change the URL?
Please show more details on how to work with contacts-cas example.