Dear CAS experts,

We used to use Cas 3.0.5 in our product, and we are recently trying to
upgrade to cas 3.1.1.

We customized the cas login screen so that if someone tries to login
without setting up the service url value, the default service will be
selected.

We did so by adding a conditional statement to the action of the login
form post.


code:

String queryString = StringUtils.hasText(request.getQueryString())
                ? "?" + request.getQueryString()
                : "?service=" + server + "landing/";


<form method="post" onsubmit="set_remember_me_flag($('remember_me').checked); 
return true;" action="<%=actionUrl%>">
  <!-- the login form ... -->

</form>

end


Such trick seems no longer working in CAS 3.1.1. On a successful
authentication, the user only gets the standard "Login Successful"
message, although the url now consists of a service url.


I also tried to add the service value as a post input, with no success.

Is there a better way to set up the default service?

Thank you,
Ezra


_______________________________________________
Yale CAS mailing list
[email protected]
http://tp.its.yale.edu/mailman/listinfo/cas

Reply via email to