Hi all,
    I try to use registered services, so I have put directly in deployerConfigContext.xml a liste of beans to inject RegisteredServiceImpl

<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="All"
                    p:serviceId="*://*.univ.fr/**"
                    p:name="All"
                    p:theme="default"
                    p:allowedToProxy="true"
                    p:enabled="true"
                    p:ssoEnabled="true"
                    p:anonymousAccess="false">
                    <property name="allowedAttributes">
                        <list/>
                    </property>   
                </bean>
           </list>
        </property>   
</bean>

IIt's work fine with this url https://auth.univ.fr/cas/login?service=http://test.univ.fr/ but my regular _expression_ don't match http://test.univ.FR/
Is there a simple way to make no case sensitve for service ?

Actually I have patch RegisteredServiceImpl

public boolean matches(final Service service) {
        // Patch to translate to lower cas service id
        String lowerServiceId = service.getId().toLowerCase();       
       
return service != null && PATH_MATCHER.match(this.serviceId, lowerServiceId);
       //return service != null && PATH_MATCHER.match(this.serviceId, service.getId());
}

I've open a Issue in jira : http://www.ja-sig.org/issues/browse/CAS-600

Best Regards,

--
Pôle Lorrain de Gestion
13 rue du Maréchal Ney
CO 30075
54036 NANCY Cedex
> Téléphone 03.54.50.36.54
> Fax 03.54.50.36.51
Julien Marchal
Equipe réseau - CRI
_______________________________________________
Yale CAS mailing list
[email protected]
http://tp.its.yale.edu/mailman/listinfo/cas

Reply via email to