cas/src/main/java/org/springframework/security/cas/web/CasAuthenticationEntryPoint.java
protected String createServiceUrl(final HttpServletRequest request,
			final HttpServletResponse response) {
		return CommonUtils.constructServiceUrl(null, response,
				this.serviceProperties.getService(), null,
				this.serviceProperties.getArtifactParameter(),
				this.encodeServiceUrlWithSessionId);
	}
protected String createServiceUrl(final HttpServletRequest request,
			final HttpServletResponse response) {
		return CommonUtils.constructServiceUrl(null, response,
				this.serviceProperties.getService(), null,
				this.serviceProperties.getArtifactParameter(),
				this.encodeServiceUrlWithSessionId);
	}
Constructs a new Service Url. The default implementation relies on the CAS client
to do the bulk of the work.
@param request the HttpServletRequest
@param response the HttpServlet Response
@return the constructed service url. CANNOT be NULL.