samples/xml/cas/cassample/src/main/java/org/springframework/security/samples/cas/web/ProxyTicketSampleServlet.java
@Override
	public void init() throws ServletException {
		super.init();
		String casServiceHost = System.getProperty("cas.service.host", "localhost:8443");
		targetUrl = "https://" + casServiceHost + "/cas-sample/secure/";
	}
@Override
	public void init() throws ServletException {
		super.init();
		String casServiceHost = System.getProperty("cas.service.host", "localhost:8443");
		targetUrl = "https://" + casServiceHost + "/cas-sample/secure/";
	}
@ Override public void init ( ) throws ServletException { super . init ( ) ; String casServiceHost = System . getProperty ( "cas.service.host" , "localhost:8443" ) ; targetUrl = "https://" + casServiceHost + "/cas-sample/secure/" ; }
Initialize the target URL. It allows for the host to change based upon the
"cas.service.host" system property. If the property is not set, the default is
"localhost:8443".
Initialize the target URL . It allows for the host to change based upon the cas . service . host system property . If the property is not set the default is localhost : 8443 .