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 > 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: www.jasig.org/cas | Creator of pac4j: www.pac4j.org > > 2014-09-12 13:44 GMT+02:00 Stoysky <[email protected] <javascript:>>: > >> 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 >> Cas20ServiceTicketValidator for every validaiton request? If not and we >> have to reuse one and the same instance is Cas20ServiceTicketValidator >> thread safe or do we have to take care about some synchronized access >> ourselves? >> >> Thank you very much for your help. >> >> -- >> You are currently subscribed to [email protected] <javascript:> as: >> [email protected] <javascript:> >> 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] <javascript:> as: > [email protected] <javascript:> > 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
