Scott, Thank you for confirming my suspicions!
On a related note, I was hoping to get feedback about whether or not it is a good idea to associate views with registered services in the Service Management utility. If so, then something like ServiceThemeResolver can be made for views and we could totally customize views on a per-service basis. Appreciate the help! Andrew On 8/26/08 9:19 AM, "Scott Battaglia" <[EMAIL PROTECTED]> wrote: > We can't apply themes to logout pages since they don't know anything about the > service. You do have the option of using the service URL redirect which means > that when you call /logout you provide a url to the "service" parameter and if > you've configured the LogoutController it will redirect you back to that url > after the logout has occurred. > > -Scott > > -Scott Battaglia > PGP Public Key Id: 0x383733AA > LinkedIn: http://www.linkedin.com/in/scottbattaglia > > > On Fri, Aug 22, 2008 at 2:26 PM, Andrew Feller <[EMAIL PROTECTED]> wrote: >> With the Service Management feature allowing alternative themes based on the >> service, how do requests for the logout page work? Are themes even applied >> as they don't exist within the same controller; the login controller being a >> SWF controller while the logout controller is a custom Spring controller. >> >> >> >> On 8/21/08 11:04 AM, "Andrew Feller" <[EMAIL PROTECTED] >> <http://[EMAIL PROTECTED]> > wrote: >> >>> Scott, >>> >>> Yeah, that is another solution I came up with. I was thinking it would be >>> nice to associate a view with a registered service along with the theme and >>> create a custom viewResolver like ServiceThemeResolver. Does this sound >>> like something we would want in CAS: assigning views based upon registered >>> services? >>> >>> Thanks, >>> A- >>> >>> >>> On 8/21/08 10:18 AM, "Scott Battaglia" <[EMAIL PROTECTED] >>> <http://[EMAIL PROTECTED]> > wrote: >>> >>>> Andrew, >>>> >>>> You may just be able to add a custom ViewResolver that does what you need. >>>> I haven't looked into that too much but it something you could consider. >>>> >>>> -Scott >>>> >>>> -Scott Battaglia >>>> PGP Public Key Id: 0x383733AA >>>> LinkedIn: http://www.linkedin.com/in/scottbattaglia >>>> >>>> >>>> On Thu, Aug 21, 2008 at 8:03 AM, Andrew Feller <[EMAIL PROTECTED] >>>> <http://[EMAIL PROTECTED]> > wrote: >>>>> Scott, >>>>> >>>>> The alternative login pages are structurally different than our main login >>>>> page, so it is not as if I can simply swap out the CSS and have it be >>>>> sufficient. I am still researching the full capabilities of Spring MVC >>>>> themes and seeing whether it is possible, but I am on one of those "we >>>>> need this by the end of the week despite it being given to you on Monday" >>>>> deadlines. X\ >>>>> >>>>> I was able to hack together something the other day by rewriting the >>>>> login-webflow rules. Basically, I had the viewLoginForm changed to a >>>>> decision state that would check the flowScope.service parameter and >>>>> depending on which services it found, it would transition them onto a >>>>> different view state where the view was set to a custom Login page. This >>>>> is far from ideal and hope to come back after the deadline to refactor the >>>>> login page to accommodate themes properly. >>>>> >>>>> 2 questions: >>>>> >>>>> 1. Any good Spring MVC theme links you know of? >>>>> 2. Is it possible to call the matches() method on a String in OGNL? It >>>>> continues to complain whenever I provide it the following: >>>>> expression="flowScope.service.getId().matches('.*\.example\.com.*')". It >>>>> believes the literal string is an OGNL expression to evaluate. =( >>>>> >>>>> Thanks, >>>>> Andrew >>>>> >>>>> >>>>> >>>>> On 8/20/08 9:40 PM, "Scott Battaglia" <[EMAIL PROTECTED] >>>>> <http://[EMAIL PROTECTED]> <http://[EMAIL PROTECTED]> > >>>>> wrote: >>>>> >>>>>> Any reason you can't just use the Spring Theme tags to customize the >>>>>> look? >>>>>> >>>>>> -Scott >>>>>> >>>>>> -Scott Battaglia >>>>>> PGP Public Key Id: 0x383733AA >>>>>> LinkedIn: http://www.linkedin.com/in/scottbattaglia >>>>>> >>>>>> >>>>>> On Mon, Aug 18, 2008 at 1:40 PM, Andrew R Feller <[EMAIL PROTECTED] >>>>>> <http://[EMAIL PROTECTED]> <http://[EMAIL PROTECTED]> > wrote: >>>>>>> QUESTION: How can I setup a second CAS login page that works like the >>>>>>> normal login page, however it uses a completely different theme. >>>>>>> >>>>>>> I realize I would have to register the URL path with one of the handler >>>>>>> mappings, however I am still trying to figure out how the handlerMapping >>>>>>> beans are utilized from the Spring configuration as they aren't >>>>>>> referenced directly by another Spring bean. >>>>>>> >>>>>>> Thanks, >>>>>>> Andrew >>>>>>> >>>>>>> _______________________________________________ >>>>>>> Yale CAS mailing list >>>>>>> [email protected] <http://[email protected]> >>>>>>> <http://[email protected]> >>>>>>> http://tp.its.yale.edu/mailman/listinfo/cas >>>>>>> >>>>>> >>>>>> >>>>>> >>>>>> _______________________________________________ >>>>>> Yale CAS mailing list >>>>>> [email protected] <http://[email protected]> >>>>>> <http://[email protected]> >>>>>> http://tp.its.yale.edu/mailman/listinfo/cas >>>>> >>>>> _______________________________________________ >>>>> Yale CAS mailing list >>>>> [email protected] <http://[email protected]> >>>>> http://tp.its.yale.edu/mailman/listinfo/cas >>>>> >>>> >>>> >>>> >>>> _______________________________________________ >>>> Yale CAS mailing list >>>> [email protected] <http://[email protected]> >>>> http://tp.its.yale.edu/mailman/listinfo/cas >>> >>> >>> _______________________________________________ >>> Yale CAS mailing list >>> [email protected] <http://[email protected]> >>> http://tp.its.yale.edu/mailman/listinfo/cas >> >> _______________________________________________ >> Yale CAS mailing list >> [email protected] >> http://tp.its.yale.edu/mailman/listinfo/cas >> > > > > _______________________________________________ > Yale CAS mailing list > [email protected] > http://tp.its.yale.edu/mailman/listinfo/cas
_______________________________________________ Yale CAS mailing list [email protected] http://tp.its.yale.edu/mailman/listinfo/cas
