[cas-user] Is Cas20ServiceTicketValidator thread safe?

2014-09-12 Thread Stoysky
Hello, We would like to use CAS 4.0.0 and we are trying it now. We use the CAS REST API for login/logout/ticket validation. We would like to use Cas20ServiceTicketValidator from cas-client-core 3.3.3 to validate our tickets. My questions is it cheap to create new instance of

Re: [cas-user] Is Cas20ServiceTicketValidator thread safe?

2014-09-12 Thread Jérôme LELEU
Hi, The Cas20ServiceTicketValidator is meant to be a singleton and you can call it multiple times safely. It's the way it's used in other frameworks like Spring Security and Shiro. Best regards, Jérôme LELEU Founder of CAS in the cloud: www.casinthecloud.com | Twitter: @leleuj Chairman of CAS:

Re: [cas-user] Is Cas20ServiceTicketValidator thread safe?

2014-09-12 Thread Stoysky
Thank You very much for the promp reply. I like CAS a little bit more now :) 12 септември 2014, петък, 13:56:12 UTC+2, Jérôme LELEU написа: Hi, The Cas20ServiceTicketValidator is meant to be a singleton and you can call it multiple times safely. It's the way it's used in other frameworks