Hi 

I have CAS3 enabled with my oen LDAP authentication handler and memcached 
installed for ticket registry.

What I want to do now is display a different theme for different services.  I 
want a default one and one for a specified URL that will display a different 
looking login, but with the same background authentication.

I was looking about and getting mixed up with views and themes.  I found some 
code that suggests that you can add a service to deployerConfigContext.xml - 
snippet below - which would point to a specific theme.  But when I run this and 
try /cas/login?service=http://www.yahoo.com the theme choosen is still the 
default on - any hints?

        <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="andy"
                    p:allowedToProxy="false"
                    p:enabled="false"
                    p:ssoEnabled="false"
                    p:anonymousAccess="false">
                    <property name="allowedAttributes">
                                <list/>
                    </property>  
                                </bean>
                        </list>
                </property>   
        </bean> 
-- 
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-dev

Reply via email to