Based on the code for CONTAINS, that should have worked:
https://github.com/Jasig/java-cas-client/blob/master/cas-client-core/src/main/java/org/jasig/cas/client/authentication/ContainsPatternUrlPatternMatcherStrategy.java

You may want to try it with a shorter "contains" pattern (i.e.
/customer/portal) and see if it works.

On Fri, Mar 11, 2016 at 2:43 AM, Adrián Plaza <[email protected]> wrote:

> I try to change for the final URl and didn't work
>
> 2016-03-10 18:07 GMT+01:00 Ray Bon <[email protected]>:
>
>> In your config you have https://jsdpre.exc.es/servicedesk/customer/portal 
>> and your
>> URL is https://jsdpre.exc.es/servicedesk/customer/portals with an 's'.
>>
>> Ray
>>
>>
>> On Thu, 2016-03-10 at 16:14 +0100, Adrián Plaza wrote:
>>
>> HI Misagh,
>>
>> I added this configuration:
>>
>> <filter>
>>
>> <filter-name>CasAuthenticationFilter</filter-name>
>>
>>
>> <filter-class>org.jasig.cas.client.authentication.AuthenticationFilter</filter-class>
>>
>> <init-param>
>>
>> <param-name>casServerLoginUrl</param-name>
>>
>> <param-value>https://aplicat.upv.es/cas-app/login</param-value>
>>
>> </init-param>
>>
>>
>> <init-param>
>>
>> <param-name>serverName</param-name>
>>
>> <param-value>https://jsdpre.exc.es/</param-value>
>>
>> </init-param>
>>
>> <init-param>
>>
>> <param-name>ignorePattern</param-name>
>>
>> <param-value>https://jsdpre.exc.es/servicedesk/customer/portal
>> </param-value>
>>
>> </init-param>
>>
>> <init-param>
>>
>> <param-name>ignoreUrlPatternType</param-name>
>>
>> <param-value>CONTAINS</param-value>
>>
>> </init-param>
>>
>> </filter>
>>
>>
>>
>> but didn't work, when JIRA start and I try to acces:
>> https://jsdpre.exc.es/servicedesk/customer/portals CAS login appear.
>>
>> Any suggestions?
>>
>> Best regards,
>> Adrián.
>>
>> 2016-03-10 12:15 GMT+01:00 Adrián Plaza <[email protected]>:
>>
>> Hi thanks a lot,
>>
>> I will try to prove this.
>>
>> You are the best.
>>
>>
>> 2016-03-10 11:42 GMT+01:00 Misagh Moayyed <[email protected]>:
>>
>> See https://github.com/Jasig/java-cas-client “ignorePattern”.
>>
>>
>>
>> *From:* [email protected] [mailto:[email protected]] *On Behalf Of 
>> *Adrián
>> Plaza
>> *Sent:* Thursday, March 10, 2016 3:40 AM
>> *To:* Misagh Moayyed <[email protected]>
>> *Cc:* CAS Community <[email protected]>
>> *Subject:* Re: [cas-user] Exception in CAS Filter
>>
>>
>>
>> That's sound really fine.
>>
>>
>>
>> Can you give me some help to find this settings to exclude URL patterns?
>>
>>
>>
>> I was looking for this but not find anything.
>>
>>
>>
>> 2016-03-10 11:05 GMT+01:00 Misagh Moayyed <[email protected]>:
>>
>> The Java CAS client has settings that would allow you to exclude url
>> patterns from filter interception.
>>
>>
>>
>> *From:* [email protected] [mailto:[email protected]] *On Behalf Of 
>> *Adrián
>> Plaza
>> *Sent:* Thursday, March 10, 2016 12:55 AM
>> *To:* CAS Community <[email protected]>
>> *Subject:* [cas-user] Exception in CAS Filter
>>
>>
>>
>> Hi,
>>
>>
>>
>> I have implemented CAS in JIRA and works really fine.
>>
>>
>>
>> But JIRA have Service Desk and I want to know if is possible to do a
>> exception in CAS filter to avoid to CAS affect a particular URL.
>>
>>
>>
>> Best Regards,
>>
>> Adrián.
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "CAS Community" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to [email protected].
>> Visit this group at
>> https://groups.google.com/a/apereo.org/group/cas-user/.
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "CAS Community" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to [email protected].
>> Visit this group at
>> https://groups.google.com/a/apereo.org/group/cas-user/.
>>
>>
>>
>>
>>
>> --
>>
>> ______________________________________________________
>>
>> *Adrián Plaza Peñarrubia*
>>
>> Área de Calidad de procesos y Servicios Gestionados
>>
>> tlf: 96 325 48 08
>>
>>
>>
>> <http://facebook.com/excentia>   <http://twitter.com/excentia>
>> <http://www.linkedin.com/company/excentia>
>> <https://plus.google.com/+ExcentiaEs>
>> <http://www.excentia.es/contacto.html>
>>
>> <http://www.excentia.es/>
>> <http://www.excentia.es/img/certificados/aenor-iso-9000-full.png>
>> <http://www.excentia.es/img/certificados/iqnet-certified-full.png>
>>
>>
>>
>> Aviso Legal <http://www.excentia.es/legal.html>* - *Privacidad
>> <http://www.excentia.es/privacy.html>
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "CAS Community" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to [email protected].
>> Visit this group at
>> https://groups.google.com/a/apereo.org/group/cas-user/.
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "CAS Community" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to [email protected].
>> Visit this group at
>> https://groups.google.com/a/apereo.org/group/cas-user/.
>>
>>
>>
>>
>> --
>> ______________________________________________________
>> *Adrián Plaza Peñarrubia*
>> Área de Calidad de procesos y Servicios Gestionados
>> tlf: 96 325 48 08
>>
>> <http://facebook.com/excentia>   <http://twitter.com/excentia>
>> <http://www.linkedin.com/company/excentia>
>> <https://plus.google.com/+ExcentiaEs>
>> <http://www.excentia.es/contacto.html>
>> <http://www.excentia.es/>
>> <http://www.excentia.es/img/certificados/aenor-iso-9000-full.png>
>> <http://www.excentia.es/img/certificados/iqnet-certified-full.png>
>>
>> Aviso Legal <http://www.excentia.es/legal.html>* - *Privacidad
>> <http://www.excentia.es/privacy.html>
>>
>>
>>
>>
>> --
>> ______________________________________________________
>> *Adrián Plaza Peñarrubia*
>> Área de Calidad de procesos y Servicios Gestionados
>> tlf: 96 325 48 08
>>
>> <http://facebook.com/excentia>   <http://twitter.com/excentia>
>> <http://www.linkedin.com/company/excentia>
>> <https://plus.google.com/+ExcentiaEs>
>> <http://www.excentia.es/contacto.html>
>> <http://www.excentia.es/>
>> <http://www.excentia.es/img/certificados/aenor-iso-9000-full.png>
>> <http://www.excentia.es/img/certificados/iqnet-certified-full.png>
>>
>> Aviso Legal <http://www.excentia.es/legal.html>* - *Privacidad
>> <http://www.excentia.es/privacy.html>
>>
>>
>
>
> --
> ______________________________________________________
> *Adrián Plaza Peñarrubia*
> Área de Calidad de procesos y Servicios Gestionados
> tlf: 96 325 48 08
>
> <http://facebook.com/excentia>   <http://twitter.com/excentia>
> <http://www.linkedin.com/company/excentia>
> <https://plus.google.com/+ExcentiaEs>
> <http://www.excentia.es/contacto.html>
> <http://www.excentia.es/>
> <http://www.excentia.es/img/certificados/aenor-iso-9000-full.png>
> <http://www.excentia.es/img/certificados/iqnet-certified-full.png>
>
> Aviso Legal <http://www.excentia.es/legal.html>* - *Privacidad
> <http://www.excentia.es/privacy.html>
>
> --
> You received this message because you are subscribed to the Google Groups
> "CAS Community" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> Visit this group at https://groups.google.com/a/apereo.org/group/cas-user/
> .
>

-- 
You received this message because you are subscribed to the Google Groups "CAS 
Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
Visit this group at https://groups.google.com/a/apereo.org/group/cas-user/.

Reply via email to