diff --git a/maxkey-authentications/maxkey-authentication-core/src/main/java/org/maxkey/authn/SavedRequestAwareAuthenticationSuccessHandler.java b/maxkey-authentications/maxkey-authentication-core/src/main/java/org/maxkey/authn/SavedRequestAwareAuthenticationSuccessHandler.java index f3db94b7c..4a6b5a370 100644 --- a/maxkey-authentications/maxkey-authentication-core/src/main/java/org/maxkey/authn/SavedRequestAwareAuthenticationSuccessHandler.java +++ b/maxkey-authentications/maxkey-authentication-core/src/main/java/org/maxkey/authn/SavedRequestAwareAuthenticationSuccessHandler.java @@ -108,11 +108,11 @@ public class SavedRequestAwareAuthenticationSuccessHandler // Use the DefaultSavedRequest URL String targetUrl = savedRequest.getRedirectUrl(); - // is cas login , with service parameter - logger.info("CAS " + request.getParameter(WebConstants.CAS_SERVICE_PARAMETER)); + // is cas login , with service parameter + logger.trace("CAS " + request.getParameter(WebConstants.CAS_SERVICE_PARAMETER)); if (request.getParameter(WebConstants.CAS_SERVICE_PARAMETER) != null && request.getParameter(WebConstants.CAS_SERVICE_PARAMETER).startsWith("http")) { - targetUrl = WebContext.getHttpContextPath() + "/authorize/cas/login?service=" + targetUrl = WebContext.getHttpContextPath() + "/authz/cas/login?service=" + request.getParameter(WebConstants.CAS_SERVICE_PARAMETER); } targetUrl = targetUrl == null ? "/forwardindex" : targetUrl;