Using CAS v6.6.15.2, I was able to overlay this 
class DelegatedClientAuthenticationRedirectAction to look for a TARGET 
query parameter from cas/login?TARGET=https://foobar.com and create/inject 
a parameter to send via URIBuilder to the delegated login service.

Now testing this in v7.3.3, applying my same changes to do work. Instead it 
looks like it is not receiving the same URL in the request object but 
instead the URL of the CAS  client redirect for the delegated login.

Anyone know of an alternate source that I can to move my logic to?

Lines I was using:
val request = 
WebUtils.getHttpServletRequestFromExternalWebflowContext(requestContext);
String queryString = request.getQueryString();
String target = request.getParameter("TARGET");
if (target.contains("foobar/something") {
    builder.addParameter("casclient", "something");
}

-psv

-- 
- Website: https://apereo.github.io/cas
- List Guidelines: https://goo.gl/1VRrw7
- Contributions: https://goo.gl/mh7qDG
--- 
You received this message because you are subscribed to the Google Groups "CAS 
Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/f2e2be14-bf15-423f-bf2a-cb9a7dafee6dn%40apereo.org.

Reply via email to