Hi Scott Indeed, we have added
action="login" to the Spring form tag, and it solved our problem. We have now another problem that I will post on a separate thread. Thanks for the help Thomas On Wed, Oct 20, 2010 at 04:18, Scott Battaglia <[email protected]>wrote: > The action has nothing to do with the commandName. I recommend taking a > looking at the Spring Form tags documentation. > > Cheers, > Scott > > > On Tue, Oct 19, 2010 at 4:51 AM, Thomas FRANCART < > [email protected]> wrote: > >> Hi all >> >> I looked into all the configuration files I could think of, and in the CAS >> user manual as well, but could not find the place where this >> "${commandName}" is constructed in the login page, how it is built, or on >> which parameter of the CAS configuration it relies. >> >> Looking into the code I can see this in AuthenticationFormAction.java : >> >> public Event referenceData(final RequestContext context) throws Exception >> { >> context.getRequestScope().put("commandName", getFormObjectName()); >> return success(); >> } >> >> Not being familiar with Spring webflow I don't know what the >> "getFormObjectName" returns. Any insight on that matter would be greatly >> appreciated... or maybe I am just looking into the wrong direction, and >> there is something else to do to configure CAS behing Apache with ProxyPass. >> >> Thanks >> Thomas >> >> >> >> On Fri, Oct 15, 2010 at 16:52, Thomas FRANCART < >> [email protected]> wrote: >> >>> Hi All >>> >>> We have customized the login form of CAS by creating a custom view. In >>> this view (as in the default one), the login form has the following action : >>> >>> <form:form method="post" commandName="${commandName}"> >>> >>> which resolves in the rendered page to : >>> >>> <form action="/cas/login?service=<...>" method="post"> >>> >>> >>> I would like the form action to change by adding a prefix to it; I would >>> like the final action to be : >>> >>> <form action="/node01/cas/login?service=<...>" method="post"> >>> >>> >>> (because my CAS app is behind an Apache configured with proxyPass and >>> proxyPassReverse to customize the URLs). >>> >>> I didn't find anything, how can I do that ? >>> Is there any other part of CAS I would need to customize in the same way >>> to modify the URLs that begin with a "/" ? >>> >>> Thanks for your help >>> Thomas >>> >>> -- >>> *Thomas Francart* >>> *CTO** - Mondeca* >>> 3, cité Nollez 75018 Paris France >>> Tel. +33 (0)1 44 92 35 04 - fax +33 (0)1 44 92 02 59 >>> Web: www.mondeca.com >>> Blog : Leçons de choses <http://mondeca.wordpress.com> >>> >>> <http://www.online-information.co.uk/promo/online2010/ex25175> >>> >>> >>> >> >> >> -- >> *Thomas Francart* >> *CTO** - Mondeca* >> 3, cité Nollez 75018 Paris France >> Tel. +33 (0)1 44 92 35 04 - fax +33 (0)1 44 92 02 59 >> Web: www.mondeca.com >> Blog : Leçons de choses <http://mondeca.wordpress.com> >> >> <http://www.online-information.co.uk/promo/online2010/ex25175> >> >> >> -- >> 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-user >> >> > -- > 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-user > > -- *Thomas Francart* *CTO** - Mondeca* 3, cité Nollez 75018 Paris France Tel. +33 (0)1 44 92 35 04 - fax +33 (0)1 44 92 02 59 Web: www.mondeca.com Blog : Leçons de choses <http://mondeca.wordpress.com> <http://www.online-information.co.uk/promo/online2010/ex25175> -- 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-user
