} else {
final String encodedServiceUrl = CommonUtils.constructServiceUrl(request, response, null,
config.getLocalServer(), config.getArtifactName(), config.isEncode());
final String redirectUrl = CommonUtils.constructRedirectUrl(config.getLoginUrl(), "service",
encodedServiceUrl, config.isRenew(), false);
response.sendRedirect(redirectUrl);
}
}
public CasConfig getConfig() {
return this.config;