Yes ok. It's working fine with .* Thanks a lot. Yannick
-----Message d'origine----- De : Waldbieser, Carl [mailto:[email protected]] Envoyé : vendredi 6 mars 2015 14:57 À : [email protected] Objet : Re: [cas-user] CAS 4.1 - ServiceID If your are using a Regex matcher, you need to end in something like '.*' ('.' means "any character", '*' means "zero or more times"). Thanks, Carl Waldbieser ITS System Programmer Lafayette College ----- Original Message ----- From: "Yannick MOLINET" <[email protected]> To: [email protected] Sent: Friday, March 6, 2015 5:53:55 AM Subject: [cas-user] CAS 4.1 - ServiceID Hi all, I'm working with CAS 4.1 and I have an issue with the serviceid declaration in deployerConfigContext.xml I added ServiceID like https://myserver.com/subscribe/user/* When I call my url https://myserver.com/subscribe/user/register.php, I received < Application Not Authorized to Use CAS > If I try to specify ServiceID with **, cas don't start. <bean class="org.jasig.cas.services.RegexRegisteredService"> <property name="id" value="2" /> <property name="name" value="USER CHANGE PASSWORD " /> <property name="description" value="MY SITE" /> <property name="serviceId" value="https://myserver.com/subscribe/user/*" /> <property name="evaluationOrder" value="10000003" /> <property name="logoutType" value="FRONT_CHANNEL" /> <property name="theme" value="cas-theme-my-server" /> <property name="accessStrategy"> <bean class="org.jasig.cas.services.DefaultRegisteredServiceAccessStrategy" c:ssoEnabled="true" c:enabled="true" p:requireAllAttributes="false"> </bean> </property> </bean> Thanks for your help, Yannick -- 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-user -- 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-user -- 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-user
