Scott, Once I dug into Spring MVC, I saw what my misconception was: the difference between views and theme. I am carrying this conversation further in the Re: Registering one-off login pages; different looks but same functionality thread.
Thanks, A- On 8/20/08 9:39 PM, "Scott Battaglia" <[EMAIL PROTECTED]> wrote: > I think that's all you need. You might even need less properties on the > RegisteredServiceImpl as some have default values. Is it not working? > > -Scott > > -Scott Battaglia > PGP Public Key Id: 0x383733AA > LinkedIn: http://www.linkedin.com/in/scottbattaglia > > > On Tue, Aug 19, 2008 at 2:42 PM, Andrew R Feller <[EMAIL PROTECTED]> wrote: >> QUESTION: What must I configure in order to setup the >> InMemoryServiceRegistryDaoImpl service registry with a static list of >> registered services? >> >> WORK DONE SO FAR: >> >> 1. Specified list of RegisteredServices for the serviceRegistryDao bean >> declared within /WEB-INF/deployerConfigContext.xml >> >> <!-- Service Registry bean from deployerConfigContext.xml --> >> <bean id="serviceRegistryDao" >> class="org.jasig.cas.services.InMemoryServiceRegistryDaoImpl"> >> <property name="registeredServices"> >> <list> >> <bean >> class="org.jasig.cas.services.RegisteredServiceImpl" >> p:id="1" >> p:description="Yahoo" >> p:serviceId="http://www.yahoo.com" >> p:name="Yahoo" >> p:theme="default" >> p:allowedToProxy="false" >> p:enabled="false" >> p:ssoEnabled="false" >> p:anonymousAccess="false"> >> <property name="allowedAttributes"> >> <list/> >> </property> >> </bean> >> </list> >> </property> >> </bean> >> >> 2. Configured the themeResolver bean declared within /WEB-INF/cas-servlet to >> use the servicesManager bean declared within >> /WEB-INF/spring-configuration/applicationContext.xml >> >> <!-- Theme Resolver bean frm cas-servlet.xml --> >> <bean id="themeResolver" >> class="org.jasig.cas.services.web.ServiceThemeResolver" >> p:defaultThemeName="${cas.themeResolver.defaultThemeName}" >> p:argumentExtractors-ref="argumentExtractors" >> p:servicesManager-ref="servicesManager" /> >> >> <!-- Services Manager bean from applicationContext.xml --> >> <bean id="servicesManager" >> class="org.jasig.cas.services.DefaultServicesManagerImpl"> >> <constructor-arg index="0" ref="serviceRegistryDao" /> >> </bean> >> >> STEPS TAKEN TO TEST SERVICE MANAGEMENT CONFIGURATION >> >> 1. Request CAS instance without service to confirm default theme is being >> used >> 2. Request CAS instance with service of http://www.yahoo.com to confirm that >> SSO is denied >> >> I would appreciate any help with this matter! >> >> Thank you, >> Andrew >> >> _______________________________________________ >> 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
