You'd have to contract your own Response object making sure to include the attributes from the original request: https://source.jasig.org/cas3/tags/cas-server-3.4.4/cas-server-core/src/main/java/org/jasig/cas/authentication/principal/Response.java
Cheers, Scott On Wed, Dec 15, 2010 at 10:35 AM, ina <[email protected]> wrote: > we want to (conditionally) attach additional query params in > login-webflow.xml and preserve them even with redirectAfterValidation=true > in cas client. > > This worked in cas server 3.3.3: when specifiying > ${externalContext.requestParameterMap['service']+'?MYPARAM=true'} in > webflow.xml, then the URL was created as > service?MYPARAM&ticket=*** > and this was preserved as > service?MYPARAM > after execution of redirectAfterValidation in cas client > > Now with cas server 3.4.4 it doesn't work any more: > if we append MYPARAM to ${requestScope.response.url}, it appears after > ticket=*** and the whole query string is removed by cas client via > redirectAfterValidation > > How can we achieve old behaviour having serviceUrl?MYPARAM&ticket=*** in > webflow.xml to preserve serviceUrl?MYPARAM in cas client? > > > > > > -- > You are currently subscribed to [email protected] as: > [email protected] > To unsubscribe, change settings or access archives, see > http://www.ja-sig.org/wiki/display/JSG/cas-dev > -- You are currently subscribed to [email protected] as: [email protected] To unsubscribe, change settings or access archives, see http://www.ja-sig.org/wiki/display/JSG/cas-dev
