Hi, I finally solve the problem in using themes too. I have documented the procedures, hope it helps other people with similar situation I faced :P http://www.ja-sig.org/wiki/display/CASUM/Theme+Control
Harry On 10/15/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > Message: 2 > Date: Sun, 14 Oct 2007 21:46:56 -0700 (PDT) > From: Harry Ng <[EMAIL PROTECTED]> > Subject: Re: Theme in Services Management > To: [email protected] > Message-ID: <[EMAIL PROTECTED]> > Content-Type: text/plain; charset=us-ascii > > > Hi, > > I can manage to open the related pages finally, just saw that I need to > request https://{domain:port}/cas/services/add.html or > https://{domain:port}/cas/services/manage.html instead. > > However, I have another question on using theme settings. I want to use > different themes for different service paths requesting for > authentication. > Here are my flows without success: > 1. copy "default.properties" and rename it as "students.properties" > 2. change the css path inside "students.properties" > 3. keep "cas.themeResolver.defaultThemeName" in "cas.properties" unchanged > 4. add "<spring:theme code="css" />" to the jsp page to print out the > value > 5. add the service in Services Management to use the new theme "students" > > Results are: > 1. the JSP page will always print the value in the default theme, ie. > themes/default/cas.css > > Can anybody explain more about the service-to-theme mechanism here? I > suspect CAS cannot retrieve the theme before or after authentication. > Please > correct me if I am going wrong. > > Thanks, > Harry > > > > Harry Ng wrote: > > > > Hi all, > > > > I would like to try using the Services Management application provided > in > > CAS 3.1, but I want to know the minimum changes I need to do before > > running > > a test. I added one value in "userDetailsService" bean in > > deployerConfigContext.xml, and changed the path in cas.properties. > > > > When I try to access the page: https://{domain:port}/cas/services/, the > > page > > allows me to login, but a casGenericSuccess.jsp page comes out. I can't > > see > > anything that looks like functions in Services Management Application. > > > > I checked the log, it does say that the authentication is success, and > > service ticket granted to > > https://{domain:port}/cas/services/j_acegi_cas_security_check > > > > By the way, the user manual for Services Management is quite rough for > the > > moment. I guess we should put some effort in improving it. > > > > Thanks and Regards, > > Harry > > > > -- > > My Weblog - http://blog.planner4u.org/ > > LinkedIn - http://www.linkedin.com/in/harryng > > > > _______________________________________________ > > Yale CAS mailing list > > [email protected] > > http://tp.its.yale.edu/mailman/listinfo/cas > > > > > > -- > View this message in context: > http://www.nabble.com/Minimum-setup-for-using-Services-Management-in-CAS-3.1-tf4624296.html#a13206693 > Sent from the CAS Users mailing list archive at Nabble.com. > > >
_______________________________________________ Yale CAS mailing list [email protected] http://tp.its.yale.edu/mailman/listinfo/cas
